/documentation/RockLockTutorial/RockLock_06/res/layout/main.xml
XML | 18 lines | 15 code | 3 blank | 0 comment | 0 complexity | 7a5f55e692a711b38382a7edb57479e8 MD5 | raw file
1<?xml version="1.0" encoding="utf-8"?> 2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:orientation="vertical" android:layout_width="fill_parent" 4 android:layout_height="fill_parent"> 5 6 <FrameLayout android:id="@+id/contentFrame" android:layout_width="fill_parent" 7 android:layout_height="wrap_content" android:layout_weight="1" /> 8 9 <LinearLayout android:layout_width="fill_parent" 10 android:layout_height="wrap_content" android:layout_gravity="bottom" 11 android:layout_alignParentBottom="true" android:orientation="vertical" 12 android:id="@+id/bottom_controls"> 13 <Button android:id="@+id/unlockButton" android:layout_gravity="bottom" 14 android:layout_width="fill_parent" android:layout_height="wrap_content" 15 android:text="Exit" /> 16 </LinearLayout> 17 18</RelativeLayout>