Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.19 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:orientation="vertical"
  5. android:layout_width="match_parent"
  6. android:layout_height="wrap_content"
  7. android:layout_marginBottom="12dp"
  8. style="@style/PaddingForAllSide">
  9.  
  10. <ImageView
  11. android:id="@+id/horizontal_cell_crown_ranking_image_view"
  12. android:layout_width="wrap_content"
  13. android:layout_height="wrap_content"
  14. android:elevation="3dp"
  15. android:layout_alignParentTop="true"
  16. android:layout_centerHorizontal="true"
  17. android:src="@drawable/crown" />
  18.  
  19. <de.hdodenhof.circleimageview.CircleImageView
  20. android:id="@+id/first_ranker_image_view"
  21. android:layout_width="95dp"
  22. android:layout_height="95dp"
  23. android:layout_marginStart="40dp"
  24. android:layout_marginEnd="40dp"
  25. android:elevation="3dp"
  26. android:layout_centerHorizontal="true"
  27. android:layout_below="@id/horizontal_cell_crown_ranking_image_view"
  28. tools:src="@color/colorShadow"
  29. android:visibility="visible"
  30. tools:targetApi="lollipop" />
  31.  
  32. <TextView
  33. android:id="@+id/first_ranking_number_text_view"
  34. android:layout_width="28dp"
  35. android:layout_height="28dp"
  36. android:textSize="13sp"
  37. android:elevation="3dp"
  38. android:textColor="@color/colorBlack"
  39. android:fontFamily="@font/rubik_black"
  40. android:gravity="center"
  41. android:background="@drawable/horizontal_cell_custom_rounder_ranking_number"
  42. android:layout_alignBottom="@id/first_ranker_image_view"
  43. android:layout_alignEnd="@id/first_ranker_image_view"
  44. tools:text="1"
  45. android:visibility="visible"
  46. tools:targetApi="lollipop" />
  47.  
  48. <TextView
  49. android:id="@+id/first_ranker_name_text_view"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:layout_marginTop="5dp"
  53. android:textSize="14sp"
  54. android:paddingStart="24dp"
  55. android:paddingEnd="24dp"
  56. android:textColor="@color/colorRankedName"
  57. android:fontFamily="@font/rubik_medium"
  58. android:textAlignment="center"
  59. android:layout_below="@id/first_ranker_image_view"
  60. android:layout_toEndOf="@+id/second_ranker_image_view"
  61. android:layout_toStartOf="@+id/third_ranker_image_view"
  62. tools:text="Shiddhart khan bahadur"
  63. android:visibility="visible"/>
  64.  
  65. <TextView
  66. android:id="@+id/first_ranker_point_text_view"
  67. android:layout_width="wrap_content"
  68. android:layout_height="wrap_content"
  69. android:textSize="12sp"
  70. android:alpha="0.8"
  71. android:fontFamily="@font/rubik_light"
  72. android:gravity="center_horizontal"
  73. android:textColor="@color/colorRankedName"
  74. android:layout_below="@id/first_ranker_name_text_view"
  75. android:layout_centerHorizontal="true"
  76. tools:text="Point : 400"
  77. android:visibility="visible"/>
  78.  
  79. <de.hdodenhof.circleimageview.CircleImageView
  80. android:id="@+id/second_ranker_image_view"
  81. android:layout_width="70dp"
  82. android:layout_height="70dp"
  83. android:layout_marginTop="48dp"
  84. android:elevation="3dp"
  85. android:layout_alignTop="@id/first_ranker_image_view"
  86. android:layout_toStartOf="@id/first_ranker_image_view"
  87. tools:src="@color/colorShadow"
  88. android:visibility="visible"
  89. tools:targetApi="lollipop" />
  90.  
  91. <TextView
  92. android:id="@+id/second_ranking_number_text_view"
  93. android:layout_width="28dp"
  94. android:layout_height="28dp"
  95. android:textSize="13sp"
  96. android:textColor="@color/colorBlack"
  97. android:fontFamily="@font/rubik_black"
  98. android:elevation="3dp"
  99. android:gravity="center"
  100. android:background="@drawable/horizontal_cell_custom_rounder_ranking_number"
  101. android:layout_alignBottom="@id/second_ranker_image_view"
  102. android:layout_alignEnd="@id/second_ranker_image_view"
  103. tools:text="2"
  104. android:visibility="visible"
  105. tools:targetApi="lollipop" />
  106.  
  107. <TextView
  108. android:id="@+id/second_ranker_name_text_view"
  109. android:layout_width="wrap_content"
  110. android:layout_height="wrap_content"
  111. android:layout_marginTop="5dp"
  112. android:textSize="14sp"
  113. android:paddingEnd="28dp"
  114. android:paddingStart="0dp"
  115. android:textColor="@color/colorRankedName"
  116. android:fontFamily="@font/rubik_medium"
  117. android:textAlignment="center"
  118. android:layout_below="@id/second_ranker_image_view"
  119. android:layout_alignParentStart="true"
  120. android:layout_toStartOf="@id/first_ranker_point_text_view"
  121. tools:text="Shiddhart khan bahadur"
  122. android:visibility="visible"/>
  123.  
  124. <TextView
  125. android:id="@+id/second_ranker_point_text_view"
  126. android:layout_width="wrap_content"
  127. android:layout_height="wrap_content"
  128. android:textSize="12sp"
  129. android:alpha="0.8"
  130. android:paddingEnd="28dp"
  131. android:paddingStart="0dp"
  132. android:textColor="@color/colorRankedName"
  133. android:fontFamily="@font/rubik_light"
  134. android:gravity="center_horizontal"
  135. android:layout_below="@id/second_ranker_name_text_view"
  136. android:layout_alignStart="@id/second_ranker_name_text_view"
  137. android:layout_alignEnd="@id/second_ranker_name_text_view"
  138. tools:text="Point : 299"
  139. android:visibility="visible"/>
  140.  
  141. <de.hdodenhof.circleimageview.CircleImageView
  142. android:id="@+id/third_ranker_image_view"
  143. android:layout_width="70dp"
  144. android:layout_height="70dp"
  145. android:layout_marginTop="48dp"
  146. android:elevation="3dp"
  147. android:layout_alignTop="@id/first_ranker_image_view"
  148. android:layout_toEndOf="@id/first_ranker_image_view"
  149. tools:src="@color/colorShadow"
  150. android:visibility="visible"
  151. tools:targetApi="lollipop" />
  152.  
  153. <TextView
  154. android:id="@+id/third_ranking_number_text_view"
  155. android:layout_width="28dp"
  156. android:layout_height="28dp"
  157. android:textSize="13sp"
  158. android:elevation="3dp"
  159. android:textColor="@color/colorBlack"
  160. android:fontFamily="@font/rubik_black"
  161. android:gravity="center"
  162. android:background="@drawable/horizontal_cell_custom_rounder_ranking_number"
  163. android:layout_alignBottom="@id/third_ranker_image_view"
  164. android:layout_alignEnd="@id/third_ranker_image_view"
  165. tools:text="3"
  166. android:visibility="visible"
  167. tools:targetApi="lollipop" />
  168.  
  169. <TextView
  170. android:id="@+id/third_ranker_name_text_view"
  171. android:layout_width="wrap_content"
  172. android:layout_height="wrap_content"
  173. android:fontFamily="@font/rubik_medium"
  174. android:textSize="14sp"
  175. android:layout_marginTop="5dp"
  176. android:paddingStart="32dp"
  177. android:paddingEnd="0dp"
  178. android:textAlignment="center"
  179. android:textColor="@color/colorRankedName"
  180. android:layout_below="@id/third_ranker_image_view"
  181. android:layout_toEndOf="@id/first_ranker_point_text_view"
  182. android:layout_alignParentEnd="true"
  183. tools:text="Shiddhart khan bahadur"
  184. android:visibility="visible"/>
  185.  
  186. <TextView
  187. android:id="@+id/third_ranker_point_text_view"
  188. android:layout_width="wrap_content"
  189. android:layout_height="wrap_content"
  190. android:textSize="12sp"
  191. android:alpha="0.8"
  192. android:paddingStart="32dp"
  193. android:paddingEnd="0dp"
  194. android:textColor="@color/colorRankedName"
  195. android:fontFamily="@font/rubik_light"
  196. android:gravity="center_horizontal"
  197. android:layout_below="@id/third_ranker_name_text_view"
  198. android:layout_alignStart="@id/third_ranker_name_text_view"
  199. android:layout_alignEnd="@id/third_ranker_name_text_view"
  200. tools:text="Point : 280"
  201. android:visibility="visible" />
  202.  
  203. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement