|
@@ -1,184 +1,202 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
android:background="#ffffff"
|
|
android:background="#ffffff"
|
|
- android:layout_height="match_parent">
|
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/resume_game"
|
|
android:id="@+id/resume_game"
|
|
- android:text="继续游戏"
|
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:focusable="false"
|
|
android:focusable="false"
|
|
- android:layout_height="wrap_content"></Button>
|
|
|
|
|
|
+ android:text="继续游戏"></Button>
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/stop_game"
|
|
android:id="@+id/stop_game"
|
|
- android:text="退出游戏"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:focusable="false"
|
|
android:focusable="false"
|
|
|
|
+ android:text="退出游戏"></Button>
|
|
|
|
+
|
|
|
|
+ <RadioGroup
|
|
|
|
+ android:id="@+id/radio_gp_screen"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:layout_height="wrap_content"></Button>
|
|
|
|
-
|
|
|
|
- <RadioGroup
|
|
|
|
- android:id="@+id/radio_gp_screen"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
- android:focusable="false"
|
|
|
|
- android:layout_marginTop="20dp"
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
- <RadioButton
|
|
|
|
- android:id="@+id/normal"
|
|
|
|
- android:text="Normal"
|
|
|
|
- android:textColor="#000000"
|
|
|
|
- android:focusable="false"
|
|
|
|
- android:checked="true"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"></RadioButton>
|
|
|
|
- <RadioButton
|
|
|
|
- android:id="@+id/sai_2x"
|
|
|
|
- android:text="2xSaI"
|
|
|
|
- android:focusable="false"
|
|
|
|
- android:textColor="#000000"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"></RadioButton>
|
|
|
|
- <RadioButton
|
|
|
|
- android:id="@+id/scanline_game"
|
|
|
|
- android:text="Scanline2x"
|
|
|
|
- android:focusable="false"
|
|
|
|
- android:textColor="#000000"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"></RadioButton>
|
|
|
|
- </RadioGroup>
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
+ android:focusable="false"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <RadioButton
|
|
|
|
+ android:id="@+id/normal"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:checked="true"
|
|
|
|
+ android:focusable="false"
|
|
|
|
+ android:text="Normal"
|
|
|
|
+ android:textColor="#000000"></RadioButton>
|
|
|
|
+
|
|
|
|
+ <RadioButton
|
|
|
|
+ android:id="@+id/sai_2x"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:focusable="false"
|
|
|
|
+ android:text="2xSaI"
|
|
|
|
+ android:textColor="#000000"></RadioButton>
|
|
|
|
+
|
|
|
|
+ <RadioButton
|
|
|
|
+ android:id="@+id/scanline_game"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:focusable="false"
|
|
|
|
+ android:text="Scanline2x"
|
|
|
|
+ android:textColor="#000000"></RadioButton>
|
|
|
|
+ </RadioGroup>
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:orientation="horizontal"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginTop="20dp"
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
<TextView
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:text="写入存档:"
|
|
android:text="写入存档:"
|
|
- android:textColor="#000000"
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
- </TextView>
|
|
|
|
|
|
+ android:textColor="#000000"></TextView>
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/archive_1"
|
|
android:id="@+id/archive_1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:text="NULL"
|
|
|
|
- android:textColor="#000000"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
- android:layout_height="wrap_content">
|
|
|
|
- </TextView>
|
|
|
|
|
|
+ android:text="NULL"
|
|
|
|
+ android:textColor="#000000"></TextView>
|
|
|
|
+
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/archive_2"
|
|
android:id="@+id/archive_2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:text="NULL"
|
|
|
|
- android:textColor="#000000"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
- android:layout_height="wrap_content">
|
|
|
|
- </TextView>
|
|
|
|
|
|
+ android:text="NULL"
|
|
|
|
+ android:textColor="#000000"></TextView>
|
|
|
|
+
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/archive_3"
|
|
android:id="@+id/archive_3"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:text="NULL"
|
|
|
|
- android:textColor="#000000"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
- android:layout_height="wrap_content">
|
|
|
|
- </TextView>
|
|
|
|
|
|
+ android:text="NULL"
|
|
|
|
+ android:textColor="#000000"></TextView>
|
|
|
|
+
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/archive_4"
|
|
android:id="@+id/archive_4"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:text="NULL"
|
|
|
|
- android:textColor="#000000"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
- android:layout_height="wrap_content">
|
|
|
|
- </TextView>
|
|
|
|
|
|
+ android:text="NULL"
|
|
|
|
+ android:textColor="#000000"></TextView>
|
|
|
|
+
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/archive_5"
|
|
android:id="@+id/archive_5"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:text="NULL"
|
|
|
|
- android:textColor="#000000"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
- android:layout_height="wrap_content">
|
|
|
|
- </TextView>
|
|
|
|
|
|
+ android:text="NULL"
|
|
|
|
+ android:textColor="#000000"></TextView>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:orientation="horizontal"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginTop="20dp"
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
<TextView
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:text="读取存档:"
|
|
android:text="读取存档:"
|
|
- android:textColor="#000000"
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
- </TextView>
|
|
|
|
|
|
+ android:textColor="#000000"></TextView>
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/read_archive_1"
|
|
android:id="@+id/read_archive_1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:text="NULL"
|
|
|
|
- android:textColor="#000000"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
- android:layout_height="wrap_content">
|
|
|
|
- </TextView>
|
|
|
|
|
|
+ android:text="NULL"
|
|
|
|
+ android:textColor="#000000"></TextView>
|
|
|
|
+
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/read_archive_2"
|
|
android:id="@+id/read_archive_2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:text="NULL"
|
|
|
|
- android:textColor="#000000"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
- android:layout_height="wrap_content">
|
|
|
|
- </TextView>
|
|
|
|
|
|
+ android:text="NULL"
|
|
|
|
+ android:textColor="#000000"></TextView>
|
|
|
|
+
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/read_archive_3"
|
|
android:id="@+id/read_archive_3"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:text="NULL"
|
|
|
|
- android:textColor="#000000"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
- android:layout_height="wrap_content">
|
|
|
|
- </TextView>
|
|
|
|
|
|
+ android:text="NULL"
|
|
|
|
+ android:textColor="#000000"></TextView>
|
|
|
|
+
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/read_archive_4"
|
|
android:id="@+id/read_archive_4"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:text="NULL"
|
|
|
|
- android:textColor="#000000"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
- android:layout_height="wrap_content">
|
|
|
|
- </TextView>
|
|
|
|
|
|
+ android:text="NULL"
|
|
|
|
+ android:textColor="#000000"></TextView>
|
|
|
|
+
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/read_archive_5"
|
|
android:id="@+id/read_archive_5"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:text="NULL"
|
|
|
|
- android:textColor="#000000"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
- android:layout_height="wrap_content">
|
|
|
|
- </TextView>
|
|
|
|
|
|
+ android:text="NULL"
|
|
|
|
+ android:textColor="#000000"></TextView>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:id="@+id/key_setting_bg"
|
|
android:id="@+id/key_setting_bg"
|
|
- android:layout_marginTop="30px"
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="30px"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
+
|
|
<Button
|
|
<Button
|
|
android:id="@+id/key_setting_switch"
|
|
android:id="@+id/key_setting_switch"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:visibility="gone"
|
|
android:layout_marginTop="10px"
|
|
android:layout_marginTop="10px"
|
|
|
|
+ android:text="开始设置按键"></Button>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <RadioGroup
|
|
|
|
+ android:id="@+id/key_radio_grop"
|
|
|
|
+ android:orientation="horizontal"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:text="开始设置按键"
|
|
|
|
- android:layout_height="wrap_content"></Button>
|
|
|
|
|
|
+ android:layout_height="wrap_content"></RadioGroup>
|
|
|
|
+
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/keyName"
|
|
android:id="@+id/keyName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="10px"
|
|
|
|
+ android:textColor="@color/black"></TextView>
|
|
|
|
+
|
|
|
|
+ <Button
|
|
|
|
+ android:id="@+id/key_setting_commit"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginTop="10px"
|
|
android:layout_marginTop="10px"
|
|
- android:textColor="@color/black"
|
|
|
|
- android:layout_height="wrap_content"></TextView>
|
|
|
|
|
|
+ android:text="确定"></Button>
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|