1<?xml version="1.0" encoding="utf-8"?> 2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/JoyContainer" 3 android:layout_width="fill_parent" android:orientation="vertical" 4 android:layout_height="wrap_content" android:paddingLeft="5dip"> 5 <TextView android:text="Joystick" android:id="@+id/joystickLabel" 6 android:layout_width="wrap_content" android:layout_height="fill_parent" 7 style="@style/DemoKitControlLabel" android:gravity="center" 8 android:layout_marginTop="10dp" android:layout_marginBottom="-40dp"></TextView> 9 <com.google.android.DemoKit.JoystickView 10 android:id="@+id/joystickView" android:layout_height="wrap_content" 11 android:src="@drawable/joystick_background" android:layout_width="match_parent" 12 android:layout_gravity="center_horizontal|bottom"></com.google.android.DemoKit.JoystickView> 13</LinearLayout> 14 15