Advertisement
Guest User

Untitled

a guest
Oct 10th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.27 KB | None | 0 0
  1. <android.support.v7.widget.CardView
  2. android:id="@+id/cvSpecialisations"
  3. android:layout_width="0dp"
  4. android:layout_height="wrap_content"
  5. android:layout_marginTop="8dp"
  6. app:cardElevation="2dp"
  7. app:layout_constraintLeft_toLeftOf="parent"
  8. app:layout_constraintRight_toRightOf="parent"
  9. app:layout_constraintTop_toBottomOf="@+id/bViewAll">
  10.  
  11. <android.support.constraint.ConstraintLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content">
  14.  
  15.  
  16. <TextView
  17. android:id="@+id/tvSearchBySpecialisation"
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:layout_marginEnd="8dp"
  21. android:layout_marginLeft="8dp"
  22. android:layout_marginRight="8dp"
  23. android:layout_marginStart="8dp"
  24. android:layout_marginTop="8dp"
  25. android:text="Search by specialisation"
  26. android:textSize="14dp"
  27. app:layout_constraintLeft_toLeftOf="parent"
  28. app:layout_constraintRight_toRightOf="parent"
  29. app:layout_constraintTop_toTopOf="parent" />
  30.  
  31. <View
  32. android:id="@+id/vDividerInSpecialisationCard"
  33. style="@style/Divider"
  34. android:layout_width="0dp"
  35. android:layout_height="1dp"
  36. android:layout_marginBottom="8dp"
  37. android:layout_marginEnd="8dp"
  38. android:layout_marginLeft="8dp"
  39. android:layout_marginRight="8dp"
  40. android:layout_marginStart="8dp"
  41. android:layout_marginTop="8dp"
  42. app:layout_constraintBottom_toTopOf="parent"
  43. app:layout_constraintHorizontal_bias="1.0"
  44. app:layout_constraintLeft_toLeftOf="parent"
  45. app:layout_constraintRight_toRightOf="parent"
  46. app:layout_constraintTop_toBottomOf="@+id/tvSearchBySpecialisation"
  47. app:layout_constraintVertical_bias="0.0" />
  48.  
  49. <Button
  50. android:id="@+id/bSpecialisation1"
  51. style="@style/Widget.AppCompat.Button.Borderless"
  52. android:layout_width="88dp"
  53. android:layout_height="92dp"
  54. android:layout_marginLeft="32dp"
  55. android:layout_marginStart="32dp"
  56. android:drawablePadding="8dp"
  57. android:drawableTop="@mipmap/ic_launcher"
  58. android:fontFamily="san-serif"
  59. android:paddingLeft="-5dp"
  60. android:paddingRight="-5dp"
  61. android:text="Car"
  62. android:textAllCaps="false"
  63. android:theme="@style/AppTheme.WhiteButton"
  64. app:layout_constraintLeft_toLeftOf="parent"
  65. app:layout_constraintTop_toTopOf="@+id/bSpecialisation2" />
  66.  
  67. <Button
  68. android:id="@+id/bSpecialisation2"
  69. style="@style/Widget.AppCompat.Button.Borderless"
  70. android:layout_width="88dp"
  71. android:layout_height="92dp"
  72. android:layout_marginEnd="8dp"
  73. android:layout_marginLeft="8dp"
  74. android:layout_marginRight="8dp"
  75. android:layout_marginStart="8dp"
  76. android:layout_marginTop="16dp"
  77. android:drawablePadding="8dp"
  78. android:drawableTop="@mipmap/ic_launcher"
  79. android:fontFamily="san-serif"
  80. android:paddingLeft="-5dp"
  81. android:paddingRight="-5dp"
  82. android:text="Car"
  83. android:textAllCaps="false"
  84. android:theme="@style/AppTheme.WhiteButton"
  85. app:layout_constraintLeft_toRightOf="@+id/bSpecialisation1"
  86. app:layout_constraintRight_toLeftOf="@+id/bSpecialisation3"
  87. app:layout_constraintTop_toBottomOf="@+id/vDividerInSpecialisationCard" />
  88.  
  89. <Button
  90. android:id="@+id/bSpecialisation3"
  91. style="@style/Widget.AppCompat.Button.Borderless"
  92. android:layout_width="88dp"
  93. android:layout_height="92dp"
  94. android:layout_marginEnd="32dp"
  95. android:layout_marginRight="32dp"
  96. android:drawablePadding="8dp"
  97. android:drawableTop="@mipmap/ic_launcher"
  98. android:fontFamily="san-serif"
  99. android:paddingLeft="-5dp"
  100. android:paddingRight="-5dp"
  101. android:text="Car"
  102. android:textAllCaps="false"
  103. android:theme="@style/AppTheme.WhiteButton"
  104. app:layout_constraintRight_toRightOf="parent"
  105. app:layout_constraintTop_toTopOf="@+id/bSpecialisation2" />
  106.  
  107. <Button
  108. android:id="@+id/bSpecialisation4"
  109. style="@style/Widget.AppCompat.Button.Borderless"
  110. android:layout_width="88dp"
  111. android:layout_height="92dp"
  112. android:layout_marginEnd="32dp"
  113. android:layout_marginRight="32dp"
  114. android:drawablePadding="8dp"
  115. android:drawableTop="@mipmap/ic_launcher"
  116. android:fontFamily="san-serif"
  117. android:paddingLeft="-5dp"
  118. android:paddingRight="-5dp"
  119. android:text="Car"
  120. android:textAllCaps="false"
  121. android:theme="@style/AppTheme.WhiteButton"
  122. app:layout_constraintRight_toRightOf="parent"
  123. app:layout_constraintTop_toTopOf="@+id/bSpecialisation5" />
  124.  
  125. <Button
  126. android:id="@+id/bSpecialisation5"
  127. style="@style/Widget.AppCompat.Button.Borderless"
  128. android:layout_width="88dp"
  129. android:layout_height="92dp"
  130. android:layout_marginEnd="8dp"
  131. android:layout_marginLeft="8dp"
  132. android:layout_marginRight="8dp"
  133. android:layout_marginStart="8dp"
  134. android:layout_marginTop="14dp"
  135. android:drawablePadding="8dp"
  136. android:drawableTop="@mipmap/ic_launcher"
  137. android:fontFamily="san-serif"
  138. android:paddingLeft="-5dp"
  139. android:paddingRight="-5dp"
  140. android:text="Car"
  141. android:textAllCaps="false"
  142. android:theme="@style/AppTheme.WhiteButton"
  143. app:layout_constraintLeft_toRightOf="@+id/bSpecialisation6"
  144. app:layout_constraintRight_toLeftOf="@+id/bSpecialisation4"
  145. app:layout_constraintTop_toBottomOf="@+id/bSpecialisation2" />
  146.  
  147. <Button
  148. android:id="@+id/bSpecialisation6"
  149. style="@style/Widget.AppCompat.Button.Borderless"
  150. android:layout_width="88dp"
  151. android:layout_height="92dp"
  152. android:layout_marginLeft="32dp"
  153. android:layout_marginStart="32dp"
  154. android:drawablePadding="8dp"
  155. android:drawableTop="@mipmap/ic_launcher"
  156. android:fontFamily="san-serif"
  157. android:paddingLeft="-5dp"
  158. android:paddingRight="-5dp"
  159. android:text="Car"
  160. android:textAllCaps="false"
  161. android:theme="@style/AppTheme.WhiteButton"
  162. app:layout_constraintLeft_toLeftOf="parent"
  163. app:layout_constraintTop_toTopOf="@+id/bSpecialisation5" />
  164.  
  165.  
  166. </android.support.constraint.ConstraintLayout>
  167.  
  168. </android.support.v7.widget.CardView>
  169.  
  170. <android.support.v7.widget.CardView
  171. android:id="@+id/cvSpecialisations"
  172. android:layout_width="0dp"
  173. android:layout_height="wrap_content"
  174. android:layout_marginTop="8dp"
  175. app:cardElevation="2dp"
  176. app:layout_constraintLeft_toLeftOf="parent"
  177. app:layout_constraintRight_toRightOf="parent"
  178. app:layout_constraintTop_toBottomOf="@+id/bViewAll" >
  179.  
  180. <android.support.constraint.ConstraintLayout
  181. android:layout_width="match_parent"
  182. android:layout_height="wrap_content">
  183.  
  184. <TextView
  185. android:id="@+id/tvSearchBySpecialisation"
  186. android:layout_width="wrap_content"
  187. android:layout_height="wrap_content"
  188. android:layout_marginTop="8dp"
  189. android:layout_marginLeft="8dp"
  190. android:layout_marginRight="8dp"
  191. android:text="Search by specialisation"
  192. android:textSize="14dp"
  193. app:layout_constraintTop_toTopOf="parent"
  194. app:layout_constraintLeft_toLeftOf="parent"
  195. app:layout_constraintRight_toRightOf="parent"
  196. app:layout_constraintBottom_toTopOf="@+id/vDividerInSpecialisationCard"
  197. app:layout_constraintVertical_chainStyle="packed"/>
  198.  
  199. <View
  200. android:id="@+id/vDividerInSpecialisationCard"
  201. style="@style/Divider"
  202. android:layout_width="0dp"
  203. android:layout_height="1dp"
  204. android:layout_marginTop="8dp"
  205. android:layout_marginLeft="8dp"
  206. android:layout_marginRight="8dp"
  207. android:layout_marginBottom="8dp"
  208. app:layout_constraintTop_toBottomOf="@+id/tvSearchBySpecialisation"
  209. app:layout_constraintLeft_toLeftOf="parent"
  210. app:layout_constraintRight_toRightOf="parent"
  211. app:layout_constraintBottom_toTopOf="@+id/bSpecialisation2"/>
  212.  
  213. <Button
  214. android:id="@+id/bSpecialisation1"
  215. style="@style/Widget.AppCompat.Button.Borderless"
  216. android:layout_width="88dp"
  217. android:layout_height="92dp"
  218. android:layout_marginLeft="32dp"
  219. android:drawablePadding="8dp"
  220. android:drawableTop="@mipmap/ic_launcher"
  221. android:fontFamily="san-serif"
  222. android:paddingLeft="-5dp"
  223. android:paddingRight="-5dp"
  224. android:text="Car"
  225. android:textAllCaps="false"
  226. android:theme="@style/AppTheme.WhiteButton"
  227. app:layout_constraintTop_toTopOf="@+id/bSpecialisation2"
  228. app:layout_constraintLeft_toLeftOf="parent" />
  229.  
  230. <Button
  231. android:id="@+id/bSpecialisation2"
  232. style="@style/Widget.AppCompat.Button.Borderless"
  233. android:layout_width="88dp"
  234. android:layout_height="92dp"
  235. android:layout_marginTop="16dp"
  236. android:layout_marginLeft="8dp"
  237. android:layout_marginRight="8dp"
  238. android:drawablePadding="8dp"
  239. android:drawableTop="@mipmap/ic_launcher"
  240. android:fontFamily="san-serif"
  241. android:paddingLeft="-5dp"
  242. android:paddingRight="-5dp"
  243. android:text="Car"
  244. android:textAllCaps="false"
  245. android:theme="@style/AppTheme.WhiteButton"
  246. app:layout_constraintTop_toBottomOf="@+id/vDividerInSpecialisationCard"
  247. app:layout_constraintLeft_toRightOf="@+id/bSpecialisation1"
  248. app:layout_constraintRight_toLeftOf="@+id/bSpecialisation3"
  249. app:layout_constraintBottom_toTopOf="@+id/bSpecialisation5" />
  250.  
  251. <Button
  252. android:id="@+id/bSpecialisation3"
  253. style="@style/Widget.AppCompat.Button.Borderless"
  254. android:layout_width="88dp"
  255. android:layout_height="92dp"
  256. android:layout_marginRight="32dp"
  257. android:drawablePadding="8dp"
  258. android:drawableTop="@mipmap/ic_launcher"
  259. android:fontFamily="san-serif"
  260. android:paddingLeft="-5dp"
  261. android:paddingRight="-5dp"
  262. android:text="Car"
  263. android:textAllCaps="false"
  264. android:theme="@style/AppTheme.WhiteButton"
  265. app:layout_constraintTop_toTopOf="@+id/bSpecialisation2"
  266. app:layout_constraintRight_toRightOf="parent" />
  267.  
  268. <Button
  269. android:id="@+id/bSpecialisation4"
  270. style="@style/Widget.AppCompat.Button.Borderless"
  271. android:layout_width="88dp"
  272. android:layout_height="92dp"
  273. android:layout_marginEnd="32dp"
  274. android:layout_marginRight="32dp"
  275. android:drawablePadding="8dp"
  276. android:drawableTop="@mipmap/ic_launcher"
  277. android:fontFamily="san-serif"
  278. android:paddingLeft="-5dp"
  279. android:paddingRight="-5dp"
  280. android:text="Car"
  281. android:textAllCaps="false"
  282. android:theme="@style/AppTheme.WhiteButton"
  283. app:layout_constraintRight_toRightOf="parent"
  284. app:layout_constraintTop_toTopOf="@+id/bSpecialisation5" />
  285.  
  286. <Button
  287. android:id="@+id/bSpecialisation5"
  288. style="@style/Widget.AppCompat.Button.Borderless"
  289. android:layout_width="88dp"
  290. android:layout_height="92dp"
  291. android:layout_marginTop="14dp"
  292. android:layout_marginLeft="8dp"
  293. android:layout_marginRight="8dp"
  294. android:drawablePadding="8dp"
  295. android:drawableTop="@mipmap/ic_launcher"
  296. android:fontFamily="san-serif"
  297. android:paddingLeft="-5dp"
  298. android:paddingRight="-5dp"
  299. android:text="Car"
  300. android:textAllCaps="false"
  301. android:theme="@style/AppTheme.WhiteButton"
  302. app:layout_constraintTop_toBottomOf="@+id/bSpecialisation2"
  303. app:layout_constraintLeft_toRightOf="@+id/bSpecialisation6"
  304. app:layout_constraintRight_toLeftOf="@+id/bSpecialisation4"
  305. app:layout_constraintBottom_toBottomOf="parent"/>
  306.  
  307. <Button
  308. android:id="@+id/bSpecialisation6"
  309. style="@style/Widget.AppCompat.Button.Borderless"
  310. android:layout_width="88dp"
  311. android:layout_height="92dp"
  312. android:layout_marginLeft="32dp"
  313. android:drawablePadding="8dp"
  314. android:drawableTop="@mipmap/ic_launcher"
  315. android:fontFamily="san-serif"
  316. android:paddingLeft="-5dp"
  317. android:paddingRight="-5dp"
  318. android:text="Car"
  319. android:textAllCaps="false"
  320. android:theme="@style/AppTheme.WhiteButton"
  321. app:layout_constraintTop_toTopOf="@+id/bSpecialisation5"
  322. app:layout_constraintLeft_toLeftOf="parent" />
  323.  
  324. </android.support.constraint.ConstraintLayout>
  325.  
  326. </android.support.v7.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement