aboutsummaryrefslogtreecommitdiff
path: root/app/res/layout/joycontainer.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/res/layout/joycontainer.xml')
-rw-r--r--app/res/layout/joycontainer.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/res/layout/joycontainer.xml b/app/res/layout/joycontainer.xml
new file mode 100644
index 0000000..ff35579
--- /dev/null
+++ b/app/res/layout/joycontainer.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/JoyContainer"
+ android:layout_width="fill_parent" android:orientation="vertical"
+ android:layout_height="wrap_content" android:paddingLeft="5dip">
+ <TextView android:text="Joystick" android:id="@+id/joystickLabel"
+ android:layout_width="wrap_content" android:layout_height="fill_parent"
+ style="@style/DemoKitControlLabel" android:gravity="center"
+ android:layout_marginTop="10dp" android:layout_marginBottom="-40dp"></TextView>
+ <com.google.android.DemoKit.JoystickView
+ android:id="@+id/joystickView" android:layout_height="wrap_content"
+ android:src="@drawable/joystick_background" android:layout_width="match_parent"
+ android:layout_gravity="center_horizontal|bottom"></com.google.android.DemoKit.JoystickView>
+</LinearLayout>
+