Advertisement
Guest User

Untitled

a guest
Aug 5th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical"
  6. android:weightSum="100">
  7.  
  8. <RelativeLayout
  9. android:layout_weight="8.5"
  10. android:layout_width="match_parent"
  11. android:layout_height="0dp" >
  12.  
  13. <Button
  14. android:id="@+id/childrennew_button_save"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_alignParentRight="true"
  18. android:layout_alignParentTop="true"
  19. android:onClick="onClick"
  20. android:text="@string/save" />
  21.  
  22. <TextView
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_alignBaseline="@+id/childrennew_button_save"
  26. android:layout_alignBottom="@+id/childrennew_button_save"
  27. android:layout_toLeftOf="@+id/childrennew_button_save"
  28. android:text="@string/parent_or_educator" />
  29.  
  30. </RelativeLayout>
  31.  
  32. <RelativeLayout
  33. android:layout_width="match_parent"
  34. android:layout_height="0dp"
  35. android:layout_weight="8.5" >
  36.  
  37. <Button
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:onClick="onClick"
  41. android:text="@string/leftarrow" />
  42.  
  43. <Button
  44. android:id="@+id/button1"
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:layout_alignParentRight="true"
  48. android:layout_alignParentTop="true"
  49. android:onClick="onClick"
  50. android:text="@string/rightarrow" />
  51.  
  52. <Button
  53. android:id="@+id/button2"
  54. android:layout_width="wrap_content"
  55. android:layout_height="wrap_content"
  56. android:layout_alignParentTop="true"
  57. android:layout_marginRight="17dp"
  58. android:layout_toLeftOf="@+id/button1"
  59. android:onClick="onClick"
  60. android:text="N" />
  61.  
  62. <TextView
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:layout_alignBaseline="@+id/button2"
  66. android:layout_alignBottom="@+id/button2"
  67. android:layout_centerHorizontal="true"
  68. android:text="@string/date" />
  69. </RelativeLayout>
  70.  
  71. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement