2014-01-18 16:33:31 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-01-21 05:52:10 +00:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-01-19 18:25:47 +00:00
|
|
|
android:layout_width="match_parent"
|
2014-01-20 02:20:02 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical" >
|
2014-01-18 16:33:31 +00:00
|
|
|
|
2014-01-26 06:08:40 +00:00
|
|
|
<LinearLayout
|
2014-01-18 16:33:31 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-26 06:08:40 +00:00
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<TableLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:stretchColumns="*" >
|
|
|
|
|
|
|
|
<TableRow android:gravity="center_vertical" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:ems="10"
|
|
|
|
android:text="@string/customize_touch_controls" />
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-18 16:33:31 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2014-01-26 06:08:40 +00:00
|
|
|
android:gravity="right"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonLaunchEditor"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:ems="8"
|
|
|
|
android:text="@string/launch_editor" />
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_marginTop="25dp"
|
|
|
|
android:gravity="center_vertical" >
|
|
|
|
|
|
|
|
<TextView
|
2014-01-18 16:33:31 +00:00
|
|
|
android:layout_width="wrap_content"
|
2014-01-26 06:08:40 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:ems="10"
|
|
|
|
android:gravity="center_vertical|left"
|
|
|
|
android:text="@string/touch_vibration" />
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-25 20:01:37 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2014-01-26 06:08:40 +00:00
|
|
|
android:gravity="right"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<de.ankri.views.Switch
|
|
|
|
android:id="@+id/switchTouchVibrationEnabled"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_marginTop="25dp"
|
|
|
|
android:gravity="center_vertical" >
|
|
|
|
|
|
|
|
<TextView
|
2014-01-18 16:33:31 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2014-01-26 06:08:40 +00:00
|
|
|
android:ems="10"
|
|
|
|
android:text="@string/customize_physical_controls" />
|
2014-01-18 16:33:31 +00:00
|
|
|
|
2014-01-26 06:08:40 +00:00
|
|
|
<LinearLayout
|
2014-01-18 16:33:31 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2014-01-26 06:08:40 +00:00
|
|
|
android:gravity="right"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonKeycodeEditor"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:ems="8"
|
|
|
|
android:text="@string/launch_editor" />
|
|
|
|
</LinearLayout>
|
2014-02-01 15:44:06 +00:00
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_marginTop="25dp"
|
|
|
|
android:gravity="center_vertical" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:ems="10"
|
|
|
|
android:gravity="center_vertical|left"
|
|
|
|
android:text="@string/mic_in_port_2" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="right"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<de.ankri.views.Switch
|
|
|
|
android:id="@+id/micInPort2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2014-01-26 06:08:40 +00:00
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
|
|
|
|
|
|
<TableLayout
|
|
|
|
android:id="@+id/input_devices"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:stretchColumns="*" >
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_marginTop="25dp"
|
|
|
|
android:gravity="center_vertical" >
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-18 16:33:31 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2014-01-26 06:08:40 +00:00
|
|
|
android:gravity="center_vertical|left"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:orientation="horizontal" >
|
2014-01-26 06:08:40 +00:00
|
|
|
|
2014-01-26 06:43:33 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_marginLeft="6dp"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/controller_icon_a"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:src="@drawable/input" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/controller_text_a"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:text="A"
|
2014-01-26 08:48:14 +00:00
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:textColor="#ff0000"
|
|
|
|
android:textIsSelectable="false"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-26 06:08:40 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:layout_marginLeft="6dp"
|
2014-01-26 08:55:18 +00:00
|
|
|
android:layout_weight="1"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<TextView
|
2014-01-26 08:48:14 +00:00
|
|
|
android:layout_width="match_parent"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:text="@string/controller_a" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewDeviceDescriptorPlayer1"
|
2014-01-26 08:48:14 +00:00
|
|
|
android:layout_width="match_parent"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:text="@string/controller_none_selected" />
|
|
|
|
</LinearLayout>
|
2014-01-26 06:08:40 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-18 16:33:31 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2014-01-26 06:08:40 +00:00
|
|
|
android:gravity="right"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonSelectControllerPlayer1"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="6"
|
|
|
|
android:text="@string/select" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonRemoveControllerPlayer1"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="6"
|
|
|
|
android:text="@string/remove" />
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_marginTop="25dp"
|
|
|
|
android:gravity="center_vertical" >
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-18 16:33:31 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2014-01-26 06:08:40 +00:00
|
|
|
android:gravity="center_vertical|left"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:orientation="horizontal" >
|
2014-01-26 06:08:40 +00:00
|
|
|
|
2014-01-26 06:43:33 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_marginLeft="6dp"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/controller_icon_b"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:src="@drawable/input" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/controller_text_b"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:text="B"
|
2014-01-26 08:48:14 +00:00
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:textColor="#0000ff"
|
|
|
|
android:textIsSelectable="false"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-26 06:08:40 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:layout_marginLeft="6dp"
|
2014-01-26 08:55:18 +00:00
|
|
|
android:layout_weight="1"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<TextView
|
2014-01-26 08:48:14 +00:00
|
|
|
android:layout_width="match_parent"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:text="@string/controller_b" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewDeviceDescriptorPlayer2"
|
2014-01-26 08:48:14 +00:00
|
|
|
android:layout_width="match_parent"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:text="@string/controller_none_selected" />
|
|
|
|
</LinearLayout>
|
2014-01-26 06:08:40 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-18 16:33:31 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2014-01-26 06:08:40 +00:00
|
|
|
android:gravity="right"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonSelectControllerPlayer2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="6"
|
|
|
|
android:text="@string/select" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonRemoveControllerPlayer2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="6"
|
|
|
|
android:text="@string/remove" />
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_marginTop="25dp"
|
|
|
|
android:gravity="center_vertical" >
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-18 16:33:31 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2014-01-26 06:08:40 +00:00
|
|
|
android:gravity="center_vertical|left"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:orientation="horizontal" >
|
2014-01-26 06:08:40 +00:00
|
|
|
|
2014-01-26 06:43:33 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_marginLeft="6dp"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/controller_icon_c"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:src="@drawable/input" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/controller_text_c"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:text="C"
|
2014-01-26 08:48:14 +00:00
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:textColor="#ffff00"
|
|
|
|
android:textIsSelectable="false"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-26 06:08:40 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:layout_marginLeft="6dp"
|
2014-01-26 08:55:18 +00:00
|
|
|
android:layout_weight="1"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<TextView
|
2014-01-26 08:48:14 +00:00
|
|
|
android:layout_width="match_parent"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:text="@string/controller_c" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewDeviceDescriptorPlayer3"
|
2014-01-26 08:48:14 +00:00
|
|
|
android:layout_width="match_parent"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:text="@string/controller_none_selected" />
|
|
|
|
</LinearLayout>
|
2014-01-26 06:08:40 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-18 16:33:31 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2014-01-26 06:08:40 +00:00
|
|
|
android:gravity="right"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonSelectControllerPlayer3"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="6"
|
|
|
|
android:text="@string/select" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonRemoveControllerPlayer3"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="6"
|
|
|
|
android:text="@string/remove" />
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_marginTop="25dp"
|
|
|
|
android:gravity="center_vertical" >
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical|left"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:orientation="horizontal" >
|
2014-01-26 06:08:40 +00:00
|
|
|
|
2014-01-26 06:43:33 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_marginLeft="6dp"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/controller_icon_d"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:src="@drawable/input" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/controller_text_d"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:text="D"
|
2014-01-26 08:48:14 +00:00
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:textColor="#00ff00"
|
|
|
|
android:textIsSelectable="false"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-26 06:08:40 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:layout_marginLeft="6dp"
|
2014-01-26 08:55:18 +00:00
|
|
|
android:layout_weight="1"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<TextView
|
2014-01-26 08:48:14 +00:00
|
|
|
android:layout_width="match_parent"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:text="@string/controller_d" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewDeviceDescriptorPlayer4"
|
2014-01-26 08:48:14 +00:00
|
|
|
android:layout_width="match_parent"
|
2014-01-26 06:43:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:text="@string/controller_none_selected" />
|
|
|
|
</LinearLayout>
|
2014-01-26 06:08:40 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="right"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonSelectControllerPlayer4"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="6"
|
|
|
|
android:text="@string/select" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonRemoveControllerPlayer4"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="6"
|
|
|
|
android:text="@string/remove" />
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|