Advertisement
cybergraph

Xml

Dec 29th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.16 KB | None | 0 0
  1.  
  2. 1 <?xml version="1.0" encoding="utf-8"?>
  3. 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  4. 3 xmlns:app="http://schemas.android.com/apk/res-auto"
  5. 4 xmlns:tools="http://schemas.android.com/tools"
  6. 5 android:layout_width="match_parent"
  7. 6 android:layout_height="match_parent"
  8. 7 android:padding="16dp"
  9. 8 tools:context="MainActivity">
  10. 9
  11. 10 <EditText
  12. 11 android:id="@+id/editText_id"
  13. 12 android:layout_width="match_parent"
  14. 13 android:layout_height="wrap_content"
  15. 14 android:layout_alignParentTop="true"
  16. 15 android:inputType="number"
  17. 16 android:hint="Id"/>
  18. 17
  19. 18
  20. 19 <EditText
  21. 20 android:id="@+id/editText_name"
  22. 21 android:layout_width="match_parent"
  23. 22 android:layout_height="wrap_content"
  24. 23 android:layout_below="@id/editText_id"
  25. 24 android:hint="Name"
  26. 25 />
  27. 26
  28. 27 <EditText
  29. 28 android:id="@+id/editText_surname"
  30. 29 android:layout_width="match_parent"
  31. 30 android:layout_height="wrap_content"
  32. 31 android:layout_below="@id/editText_name"
  33. 32 android:hint="Surname"/>
  34. 33
  35. 34 <EditText
  36. 35 android:id="@+id/editText_Marks"
  37. 36 android:layout_width="match_parent"
  38. 37 android:layout_height="wrap_content"
  39. 38 android:layout_below="@id/editText_surname"
  40. 39 android:inputType="number"
  41. 40 android:hint="Marks"
  42. 41
  43. 42 />
  44. 43
  45. 44 <Button
  46. 45 android:id="@+id/button_add"
  47. 46 android:layout_width="wrap_content"
  48. 47 android:layout_height="wrap_content"
  49. 48 android:layout_marginTop="10dp"
  50. 49 android:layout_below="@+id/editText_Marks"
  51. 50 android:layout_centerHorizontal="true"
  52. 51 android:text="Add Data"/>
  53. 52
  54. 53 <Button
  55. 54 android:id="@+id/button_view"
  56. 55 android:layout_width="wrap_content"
  57. 56 android:layout_height="wrap_content"
  58. 57 android:layout_below="@id/button_add"
  59. 58 android:layout_centerHorizontal="true"
  60. 59 android:text="View"
  61. 60
  62. 61 />
  63. 62
  64. 63 <Button
  65. 64 android:id="@+id/button_update"
  66. 65 android:layout_width="wrap_content"
  67. 66 android:layout_height="wrap_content"
  68. 67 android:layout_below="@id/button_view"
  69. 68 android:layout_centerHorizontal="true"
  70. 69 android:text="Update"
  71. 70 />
  72. 71
  73. 72
  74. 73 <Button
  75. 74 android:id="@+id/button_delete"
  76. 75 android:layout_width="wrap_content"
  77. 76 android:layout_height="wrap_content"
  78. 77 android:layout_below="@id/button_update"
  79. 78 android:layout_centerHorizontal="true"
  80. 79 android:text="Delete"
  81. 80 />
  82. 81
  83. 82 <Button
  84. 83 android:id="@+id/button_viewAll"
  85. 84 android:layout_width="wrap_content"
  86. 85 android:layout_height="wrap_content"
  87. 86 android:layout_below="@id/button_delete"
  88. 87 android:layout_centerHorizontal="true"
  89. 88 android:text="View All"
  90. 89 />
  91. 90
  92. 91 </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement