diff --git a/shell/android/res/drawable/input.png b/shell/android/res/drawable/input.png
new file mode 100644
index 000000000..019545823
Binary files /dev/null and b/shell/android/res/drawable/input.png differ
diff --git a/shell/android/res/layout/controllers_fragment.xml b/shell/android/res/layout/controllers_fragment.xml
deleted file mode 100644
index 4ff4bd864..000000000
--- a/shell/android/res/layout/controllers_fragment.xml
+++ /dev/null
@@ -1,207 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/shell/android/res/layout/input_fragment.xml b/shell/android/res/layout/input_fragment.xml
new file mode 100644
index 000000000..dc96cd43a
--- /dev/null
+++ b/shell/android/res/layout/input_fragment.xml
@@ -0,0 +1,244 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/shell/android/res/values-jp/strings.xml b/shell/android/res/values-jp/strings.xml
index 99182ebfe..55c638f64 100644
--- a/shell/android/res/values-jp/strings.xml
+++ b/shell/android/res/values-jp/strings.xml
@@ -28,13 +28,17 @@
利用可能なドリームキャストのゲーム
- コントローラ 1
- コントローラ 2
- コントローラ 3
- コントローラ 4
- None
- セレクトコントローラ
- コントローラを取り外し
+ Customize Touch Controls
+ Launch Editor
+ Touch Vibration
+ コントローラ A
+ コントローラ B
+ コントローラ C
+ コントローラ D
+ Controller Not Connected
+ No Controller Selected
+ 選択する
+ 削除する
セレクトコントローラ
ポートに割り当てるコントローラのいずれかのボタンを押してください
このコントローラは、すでに使用されています!
@@ -77,4 +81,4 @@
Item Icon
-
\ No newline at end of file
+
diff --git a/shell/android/res/values/strings.xml b/shell/android/res/values/strings.xml
index 38708adc1..38cefe44d 100644
--- a/shell/android/res/values/strings.xml
+++ b/shell/android/res/values/strings.xml
@@ -31,14 +31,14 @@
Customize Touch Controls
Launch Editor
Touch Vibration
- Controller 1
- Controller 2
- Controller 3
- Controller 4
+ Controller A
+ Controller B
+ Controller C
+ Controller D
Controller Not Connected
No Controller Selected
- Select Controller
- Remove Controller
+ Select
+ Remove
Select Controller
Press any button on the controller to assign to port
This controller is already in use!
@@ -67,7 +67,7 @@
- Browser
- Settings
- Paths
- - Controllers
+ - Input
- About
@@ -77,7 +77,7 @@
- @drawable/disk_unknown
- @drawable/config
- @drawable/open_folder
- - @drawable/config
+ - @drawable/input
- @drawable/question
diff --git a/shell/android/src/com/reicast/emulator/ControllersFragment.java b/shell/android/src/com/reicast/emulator/InputFragment.java
similarity index 98%
rename from shell/android/src/com/reicast/emulator/ControllersFragment.java
rename to shell/android/src/com/reicast/emulator/InputFragment.java
index 74b7cd0e8..7f798c733 100644
--- a/shell/android/src/com/reicast/emulator/ControllersFragment.java
+++ b/shell/android/src/com/reicast/emulator/InputFragment.java
@@ -25,7 +25,7 @@ import android.widget.Toast;
import android.widget.CompoundButton.OnCheckedChangeListener;
@TargetApi(Build.VERSION_CODES.JELLY_BEAN)
-public class ControllersFragment extends Fragment {
+public class InputFragment extends Fragment {
private Activity parentActivity;
private int listenForButton = 0;
@@ -42,7 +42,7 @@ public class ControllersFragment extends Fragment {
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
- return inflater.inflate(R.layout.controllers_fragment, container, false);
+ return inflater.inflate(R.layout.input_fragment, container, false);
}
@Override
diff --git a/shell/android/src/com/reicast/emulator/MainActivity.java b/shell/android/src/com/reicast/emulator/MainActivity.java
index 93640a6f4..3ec5b8e2e 100644
--- a/shell/android/src/com/reicast/emulator/MainActivity.java
+++ b/shell/android/src/com/reicast/emulator/MainActivity.java
@@ -121,7 +121,7 @@ public class MainActivity extends FragmentActivity implements
// Paths
navDrawerItems.add(new NavDrawerItem(navMenuTitles[2], navMenuIcons
.getResourceId(2, 0)));
- // Controllers
+ // Input
navDrawerItems.add(new NavDrawerItem(navMenuTitles[3], navMenuIcons
.getResourceId(3, 0)));
// About
@@ -437,15 +437,15 @@ public class MainActivity extends FragmentActivity implements
frag_tag = "OPTIONS_FRAG";
break;
case 3:
- fragment = (ControllersFragment) getSupportFragmentManager()
- .findFragmentByTag("CONTROLLERS_FRAG");
+ fragment = (InputFragment) getSupportFragmentManager()
+ .findFragmentByTag("INPUT_FRAG");
if (fragment != null) {
if (fragment.isVisible()) {
return;
}
}
- fragment = new ControllersFragment();
- frag_tag = "CONTROLLERS_FRAG";
+ fragment = new InputFragment();
+ frag_tag = "INPUT_FRAG";
break;
case 4:
fragment = null;