1<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 android:layout_width="wrap_content" 3 android:layout_height="match_parent" 4 android:layout_gravity="center" 5 android:gravity="center" 6 android:orientation="vertical" 7 android:padding="10dp"> 8 9 <Button 10 android:id="@+id/activity_policy_demo" 11 android:layout_width="match_parent" 12 android:layout_height="wrap_content" 13 android:onClick="onDemoSelected" 14 android:text="@string/activity_policy_demo" /> 15 16 <Button 17 android:id="@+id/sensor_demo" 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content" 20 android:onClick="onDemoSelected" 21 android:text="@string/sensor_demo" /> 22 23 <Button 24 android:id="@+id/display_power_demo" 25 android:layout_width="match_parent" 26 android:layout_height="wrap_content" 27 android:onClick="onDemoSelected" 28 android:text="@string/display_power_demo" /> 29 30 <Button 31 android:id="@+id/vibration_demo" 32 android:layout_width="match_parent" 33 android:layout_height="wrap_content" 34 android:onClick="onDemoSelected" 35 android:text="@string/vibration_demo" /> 36 37 <Button 38 android:id="@+id/rotation_demo" 39 android:layout_width="match_parent" 40 android:layout_height="wrap_content" 41 android:onClick="onDemoSelected" 42 android:text="@string/rotation_demo" /> 43 44 <Button 45 android:id="@+id/home_demo" 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content" 48 android:onClick="onDemoSelected" 49 android:text="@string/home_demo" /> 50 51 <Button 52 android:id="@+id/permissions_demo" 53 android:layout_width="match_parent" 54 android:layout_height="wrap_content" 55 android:onClick="onDemoSelected" 56 android:text="@string/permissions_demo" /> 57 58 <Button 59 android:id="@+id/latency_demo" 60 android:layout_width="match_parent" 61 android:layout_height="wrap_content" 62 android:onClick="onDemoSelected" 63 android:text="@string/latency_demo" /> 64 65 <Button 66 android:id="@+id/stylus_demo" 67 android:layout_width="match_parent" 68 android:layout_height="wrap_content" 69 android:onClick="onDemoSelected" 70 android:text="@string/stylus_demo" /> 71 72 <Button 73 android:id="@+id/recorder_demo" 74 android:layout_width="match_parent" 75 android:layout_height="wrap_content" 76 android:onClick="onDemoSelected" 77 android:text="@string/recorder_demo" /> 78 79</LinearLayout>