Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.32 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. tools:context=".MainActivity"
  9. tools:showIn="@layout/activity_main">
  10.  
  11. <RelativeLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent"
  14. android:background="@color/white"
  15. app:layout_behavior="@string/appbar_scrolling_view_behavior"
  16. tools:context=".MainActivity">
  17.  
  18. <LinearLayout
  19. android:id="@+id/addDoctorLayout"
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:layout_marginLeft="20sp"
  23. android:layout_marginTop="60sp"
  24. android:layout_marginRight="20sp"
  25. android:layout_marginBottom="20sp"
  26. android:background="@drawable/card_pink"
  27. android:orientation="vertical">
  28.  
  29. <ImageView
  30. android:layout_width="wrap_content"
  31. android:layout_height="160dp"
  32. android:layout_gravity="center"
  33. android:adjustViewBounds="true"
  34. android:maxWidth="70dp"
  35. android:maxHeight="70dp"
  36. android:scaleType="fitCenter"
  37. android:src="@drawable/ic_add_doctor" />
  38.  
  39. <TextView
  40. android:layout_width="match_parent"
  41. android:layout_height="match_parent"
  42. android:background="@drawable/textview_card_style"
  43. android:fontFamily="@font/ubuntu_regular"
  44. android:gravity="center"
  45. android:paddingTop="10dp"
  46. android:paddingBottom="10dp"
  47. android:text="Add Doctor"
  48. android:textColor="@color/white"
  49. android:textSize="25sp" />
  50.  
  51. </LinearLayout>
  52.  
  53. <LinearLayout
  54. android:id="@+id/updateAndViewDoctorLayout"
  55. android:layout_width="match_parent"
  56. android:layout_height="200dp"
  57. android:layout_below="@+id/addDoctorLayout"
  58. android:layout_marginLeft="20sp"
  59. android:layout_marginRight="20sp"
  60. android:background="@color/white"
  61. android:baselineAligned="false"
  62. android:orientation="horizontal">
  63.  
  64. <LinearLayout
  65. android:id="@+id/updateDoctorLayout"
  66. android:layout_width="0dp"
  67. android:layout_height="match_parent"
  68. android:layout_marginRight="5dp"
  69. android:layout_weight="2"
  70. android:background="@drawable/card_indigo"
  71. android:orientation="vertical">
  72.  
  73. <ImageView
  74. android:layout_width="wrap_content"
  75. android:layout_height="160dp"
  76. android:layout_gravity="center"
  77. android:adjustViewBounds="true"
  78. android:maxWidth="70dp"
  79. android:maxHeight="70dp"
  80. android:scaleType="fitCenter"
  81. android:src="@drawable/ic_update_doctor" />
  82.  
  83. <TextView
  84. android:layout_width="match_parent"
  85. android:layout_height="match_parent"
  86. android:background="@drawable/textview_card_style"
  87. android:fontFamily="@font/ubuntu_regular"
  88. android:gravity="center"
  89. android:text="Update Doctor"
  90. android:textColor="@color/white"
  91. android:textSize="25sp" />
  92.  
  93. </LinearLayout>
  94.  
  95. <LinearLayout
  96. android:id="@+id/viewDoctorLayout"
  97. android:layout_width="0dp"
  98. android:layout_height="match_parent"
  99. android:layout_marginLeft="5dp"
  100. android:layout_weight="2"
  101. android:background="@drawable/card_amber"
  102. android:orientation="vertical">
  103.  
  104. <ImageView
  105. android:layout_width="wrap_content"
  106. android:layout_height="160dp"
  107. android:layout_gravity="center"
  108. android:adjustViewBounds="true"
  109. android:maxWidth="70dp"
  110. android:maxHeight="70dp"
  111. android:scaleType="fitCenter"
  112. android:src="@drawable/ic_view_doctors" />
  113.  
  114. <TextView
  115. android:layout_width="match_parent"
  116. android:layout_height="match_parent"
  117. android:background="@drawable/textview_card_style"
  118. android:fontFamily="@font/ubuntu_regular"
  119. android:gravity="center"
  120. android:text="View Doctors"
  121. android:textColor="@color/white"
  122. android:textSize="25sp" />
  123.  
  124. </LinearLayout>
  125.  
  126. </LinearLayout>
  127.  
  128. <LinearLayout
  129. android:id="@+id/addAndViewMedicalHistory"
  130. android:layout_width="match_parent"
  131. android:layout_height="200dp"
  132. android:layout_below="@+id/updateAndViewDoctorLayout"
  133. android:layout_marginLeft="20sp"
  134. android:layout_marginTop="20sp"
  135. android:layout_marginRight="20sp"
  136. android:background="@color/white"
  137. android:baselineAligned="false"
  138. android:orientation="horizontal">
  139.  
  140. <LinearLayout
  141. android:id="@+id/addMedicalHistory"
  142. android:layout_width="0dp"
  143. android:layout_height="match_parent"
  144. android:layout_marginRight="5dp"
  145. android:layout_weight="2"
  146. android:background="@drawable/card_green"
  147. android:orientation="vertical">
  148.  
  149. <ImageView
  150. android:layout_width="wrap_content"
  151. android:layout_height="160dp"
  152. android:layout_gravity="center"
  153. android:adjustViewBounds="true"
  154. android:maxWidth="70dp"
  155. android:maxHeight="70dp"
  156. android:scaleType="fitCenter"
  157. android:src="@drawable/ic_add_medical" />
  158.  
  159. <TextView
  160. android:layout_width="match_parent"
  161. android:layout_height="match_parent"
  162. android:background="@drawable/textview_card_style"
  163. android:fontFamily="@font/ubuntu_regular"
  164. android:gravity="center"
  165. android:text="Add Medical History"
  166. android:textColor="@color/white"
  167. android:textSize="25sp" />
  168.  
  169. </LinearLayout>
  170.  
  171. <LinearLayout
  172. android:id="@+id/viewMedicalHistory"
  173. android:layout_width="0dp"
  174. android:layout_height="match_parent"
  175. android:layout_marginLeft="5dp"
  176. android:layout_weight="2"
  177. android:background="@drawable/card_cyan"
  178. android:orientation="vertical">
  179.  
  180. <ImageView
  181. android:layout_width="wrap_content"
  182. android:layout_height="160dp"
  183. android:layout_gravity="center"
  184. android:adjustViewBounds="true"
  185. android:maxWidth="70dp"
  186. android:maxHeight="70dp"
  187. android:scaleType="fitCenter"
  188. android:src="@drawable/ic_show_medical" />
  189.  
  190. <TextView
  191. android:layout_width="match_parent"
  192. android:layout_height="match_parent"
  193. android:background="@drawable/textview_card_style"
  194. android:fontFamily="@font/ubuntu_regular"
  195. android:gravity="center"
  196. android:text="View Medical History"
  197. android:textColor="@color/white"
  198. android:textSize="25sp" />
  199.  
  200. </LinearLayout>
  201.  
  202. </LinearLayout>
  203.  
  204. </RelativeLayout>
  205. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement