/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

  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. <FrameLayout android:id="@+id/contentFrame" android:layout_width="fill_parent"
  6. android:layout_height="wrap_content" android:layout_weight="1" />
  7. <LinearLayout android:layout_width="fill_parent"
  8. android:layout_height="wrap_content" android:layout_gravity="bottom"
  9. android:layout_alignParentBottom="true" android:orientation="vertical"
  10. android:id="@+id/bottom_controls">
  11. <Button android:id="@+id/unlockButton" android:layout_gravity="bottom"
  12. android:layout_width="fill_parent" android:layout_height="wrap_content"
  13. android:text="Exit" />
  14. </LinearLayout>
  15. </RelativeLayout>