mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
@ -6,8 +6,8 @@
|
|||||||
android:installLocation="auto">
|
android:installLocation="auto">
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="14"
|
android:minSdkVersion="17"
|
||||||
android:targetSdkVersion="19" />
|
android:targetSdkVersion="21" />
|
||||||
|
|
||||||
<uses-feature android:glEsVersion="0x00020000" />
|
<uses-feature android:glEsVersion="0x00020000" />
|
||||||
|
|
||||||
@ -19,7 +19,8 @@
|
|||||||
<application
|
<application
|
||||||
android:icon="@drawable/ic_launcher"
|
android:icon="@drawable/ic_launcher"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:allowBackup="true">
|
android:allowBackup="true"
|
||||||
|
android:supportsRtl="true">
|
||||||
<activity
|
<activity
|
||||||
android:name="org.dolphinemu.dolphinemu.gamelist.GameListActivity"
|
android:name="org.dolphinemu.dolphinemu.gamelist.GameListActivity"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
android:id="@+id/AboutItemTitle"
|
android:id="@+id/AboutItemTitle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="15dip"
|
android:layout_marginStart="15dip"
|
||||||
android:layout_marginTop="6dip"
|
android:layout_marginTop="6dip"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||||
@ -18,7 +18,7 @@
|
|||||||
android:id="@+id/AboutItemSubTitle"
|
android:id="@+id/AboutItemSubTitle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="15dip"
|
android:layout_marginStart="15dip"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"/>
|
android:textAppearance="?android:attr/textAppearanceSmall"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_marginRight="6dip"/>
|
android:layout_marginEnd="6dip"/>
|
||||||
|
|
||||||
<!-- Properties in the 'tools' namespace are only visible in the UI editor, not at runtime. -->
|
<!-- Properties in the 'tools' namespace are only visible in the UI editor, not at runtime. -->
|
||||||
<TextView tools:text="@string/file_size"
|
<TextView tools:text="@string/file_size"
|
||||||
@ -24,9 +24,9 @@
|
|||||||
|
|
||||||
android:textColor="#bbbbbb"
|
android:textColor="#bbbbbb"
|
||||||
|
|
||||||
android:layout_toRightOf="@id/BrowserItemIcon"
|
android:layout_toEndOf="@id/BrowserItemIcon"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentEnd="true"
|
||||||
|
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="marquee"
|
android:ellipsize="marquee"
|
||||||
@ -45,8 +45,8 @@
|
|||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
|
|
||||||
android:layout_toRightOf="@id/BrowserItemIcon"
|
android:layout_toEndOf="@id/BrowserItemIcon"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:layout_above="@id/BrowserItemSubTitle"
|
android:layout_above="@id/BrowserItemSubTitle"
|
||||||
android:layout_alignWithParentIfMissing="true"
|
android:layout_alignWithParentIfMissing="true"
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_marginRight="6dip"/>
|
android:layout_marginEnd="6dip"/>
|
||||||
|
|
||||||
<!-- Properties in the 'tools' namespace are only visible in the UI editor, not at runtime. -->
|
<!-- Properties in the 'tools' namespace are only visible in the UI editor, not at runtime. -->
|
||||||
<TextView tools:text="@string/file_size"
|
<TextView tools:text="@string/file_size"
|
||||||
@ -24,9 +24,9 @@
|
|||||||
|
|
||||||
android:textColor="#bbbbbb"
|
android:textColor="#bbbbbb"
|
||||||
|
|
||||||
android:layout_toRightOf="@id/GameListItemIcon"
|
android:layout_toEndOf="@id/GameListItemIcon"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentEnd="true"
|
||||||
|
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="marquee"
|
android:ellipsize="marquee"
|
||||||
@ -45,8 +45,8 @@
|
|||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
|
|
||||||
android:layout_toRightOf="@id/GameListItemIcon"
|
android:layout_toEndOf="@id/GameListItemIcon"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:layout_above="@id/GameListItemSubTitle"
|
android:layout_above="@id/GameListItemSubTitle"
|
||||||
android:layout_alignWithParentIfMissing="true"
|
android:layout_alignWithParentIfMissing="true"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="48dp"
|
android:layout_height="48dp"
|
||||||
android:gravity="left"
|
android:gravity="start"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -53,6 +53,11 @@ public final class NativeLibrary
|
|||||||
public static final int PRESSED = 1;
|
public static final int PRESSED = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private NativeLibrary()
|
||||||
|
{
|
||||||
|
// Disallows instantiation.
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default touchscreen device
|
* Default touchscreen device
|
||||||
*/
|
*/
|
||||||
|
@ -144,14 +144,7 @@ public final class FolderBrowser extends ListFragment
|
|||||||
{
|
{
|
||||||
String isoPath = NativeLibrary.GetConfig("Dolphin.ini", "General", "ISOPath" + i, "");
|
String isoPath = NativeLibrary.GetConfig("Dolphin.ini", "General", "ISOPath" + i, "");
|
||||||
|
|
||||||
if (isoPath.equals(currentDir.getPath()))
|
pathNotPresent = !isoPath.equals(currentDir.getPath());
|
||||||
{
|
|
||||||
pathNotPresent = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
pathNotPresent = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// User doesn't have this path in the config, so add it.
|
// User doesn't have this path in the config, so add it.
|
||||||
|
@ -8,12 +8,8 @@ package org.dolphinemu.dolphinemu.gamelist;
|
|||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
import android.graphics.BitmapFactory;
|
|
||||||
import android.util.Log;
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.InputStream;
|
|
||||||
|
|
||||||
import org.dolphinemu.dolphinemu.NativeLibrary;
|
import org.dolphinemu.dolphinemu.NativeLibrary;
|
||||||
|
|
||||||
|
@ -21,6 +21,11 @@ import android.preference.PreferenceManager;
|
|||||||
*/
|
*/
|
||||||
public final class UserPreferences
|
public final class UserPreferences
|
||||||
{
|
{
|
||||||
|
private UserPreferences()
|
||||||
|
{
|
||||||
|
// Disallows instantiation.
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Loads the settings stored in the Dolphin ini config files to the shared preferences of this front-end.
|
* Loads the settings stored in the Dolphin ini config files to the shared preferences of this front-end.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user