Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar">
  2.  
  3. <?xml version="1.0" encoding="utf-8"?>
  4. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  5. xmlns:custom="http://schemas.android.com/apk/res-auto"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:baselineAligned="true"
  9. android:orientation="vertical"
  10. android:weightSum="1">
  11.  
  12. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  13. android:layout_width="fill_parent"
  14. android:layout_height="match_parent"
  15. android:fillViewport="false"
  16. android:id="@+id/formScrollView">
  17.  
  18. <LinearLayout
  19. android:layout_width="fill_parent"
  20. android:layout_height="wrap_content"
  21. android:orientation="vertical">
  22. <!-- all form fields goes here -->
  23. </LinearLayout>
  24.  
  25. </ScrollView>
  26.  
  27. <FrameLayout
  28. android:layout_width="fill_parent"
  29. android:layout_height="wrap_content"
  30. android:background="@android:color/white"
  31. android:layout_alignParentBottom="true"
  32. android:layout_centerHorizontal="true"
  33. android:padding="@dimen/done_button_padding"
  34. android:id="@+id/happeningDoneLayout">
  35.  
  36. <Button
  37. android:id="@+id/doneButton"
  38. android:layout_width="fill_parent"
  39. android:layout_height="wrap_content"
  40. android:layout_gravity="bottom"
  41. android:text="@string/done"
  42. android:layout_alignParentBottom="true"/>
  43. <Button
  44. android:id="@+id/cancelButton"
  45. android:layout_width="fill_parent"
  46. android:layout_height="wrap_content"
  47. android:layout_gravity="bottom"
  48. android:text="@string/cancel"
  49. android:layout_alignParentBottom="true"/>
  50. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement