/documentation/RockLockTutorial/RockLock_06/res/layout/main.xml
http://eyes-free.googlecode.com/ · XML · 18 lines · 15 code · 3 blank · 0 comment · 0 complexity · 7a5f55e692a711b38382a7edb57479e8 MD5 · raw file
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical" android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <FrameLayout android:id="@+id/contentFrame" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:layout_weight="1" />
- <LinearLayout android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:layout_gravity="bottom"
- android:layout_alignParentBottom="true" android:orientation="vertical"
- android:id="@+id/bottom_controls">
- <Button android:id="@+id/unlockButton" android:layout_gravity="bottom"
- android:layout_width="fill_parent" android:layout_height="wrap_content"
- android:text="Exit" />
- </LinearLayout>
-
- </RelativeLayout>