1<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 android:id="@+id/root_launch" 4 android:layout_width="match_parent" 5 android:layout_height="match_parent" 6 android:orientation="vertical" 7 android:paddingBottom="@dimen/activity_vertical_margin" 8 android:paddingLeft="@dimen/activity_horizontal_margin" 9 android:paddingRight="@dimen/activity_horizontal_margin" 10 android:paddingTop="@dimen/activity_vertical_margin" 11 tools:context="com.google.android.example.locktasktests.LaunchActivity" > 12 13 <Button 14 android:id="@+id/button_try_lock" 15 android:layout_width="match_parent" 16 android:layout_height="wrap_content" 17 android:onClick="onTryLock" 18 android:text="@string/try_lock" /> 19 <Button 20 android:id="@+id/button_try_unlock" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content" 23 android:onClick="onTryUnlock" 24 android:text="@string/try_unlock" /> 25 <Button 26 android:id="@+id/button_launch_main" 27 android:layout_width="match_parent" 28 android:layout_height="wrap_content" 29 android:onClick="onLaunchMain" 30 android:text="@string/launch_main" /> 31 32</LinearLayout> 33