Iyon_Groznyy

Untitled

Apr 6th, 2022
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.06 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/gray_lightest">
  8.  
  9. <View
  10. android:id="@+id/header_view"
  11. android:layout_width="0dp"
  12. android:layout_height="0dp"
  13. android:layout_marginBottom="-26dp"
  14. android:background="@color/dark"
  15. app:layout_constraintBottom_toBottomOf="@+id/working_group_frame_layout"
  16. app:layout_constraintEnd_toEndOf="parent"
  17. app:layout_constraintStart_toStartOf="parent"
  18. app:layout_constraintTop_toTopOf="parent" />
  19.  
  20. <TextView
  21. android:id="@+id/username_text_view"
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:layout_marginStart="30dp"
  25. android:layout_marginTop="26dp"
  26. android:layout_marginBottom="12dp"
  27. android:fontFamily="@font/roboto_bold"
  28. android:textColor="@color/white"
  29. android:textSize="21dp"
  30. app:layout_constraintBottom_toTopOf="@+id/working_group_frame_layout"
  31. app:layout_constraintStart_toStartOf="parent"
  32. app:layout_constraintTop_toTopOf="parent"
  33. app:layout_constraintVertical_chainStyle="spread_inside" />
  34.  
  35. <FrameLayout
  36. android:id="@+id/working_group_frame_layout"
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:layout_marginStart="30dp"
  40. android:layout_marginBottom="26dp"
  41. android:paddingStart="6dp"
  42. android:paddingEnd="6dp"
  43. app:layout_constraintStart_toStartOf="parent"
  44. app:layout_constraintTop_toBottomOf="@+id/username_text_view">
  45.  
  46. <TextView
  47. android:id="@+id/working_group_text_view"
  48. android:layout_width="wrap_content"
  49. android:layout_height="wrap_content"
  50. android:fontFamily="@font/roboto_medium"
  51. android:textColor="@color/white"
  52. android:textSize="13dp" />
  53. </FrameLayout>
  54.  
  55. <ImageView
  56. android:id="@+id/logout_image_view"
  57. android:layout_width="wrap_content"
  58. android:layout_height="wrap_content"
  59. android:layout_marginTop="26dp"
  60. android:layout_marginEnd="25dp"
  61. android:layout_marginBottom="5dp"
  62. app:layout_constraintEnd_toEndOf="parent"
  63. app:layout_constraintTop_toTopOf="parent"
  64. android:src="@drawable/ic_logout" />
  65.  
  66. <TextView
  67. android:id="@+id/logout_text_view"
  68. android:layout_width="wrap_content"
  69. android:layout_height="wrap_content"
  70. android:layout_gravity="center_horizontal"
  71. android:layout_marginEnd="20dp"
  72. android:layout_marginBottom="23dp"
  73. android:fontFamily="@font/roboto_medium"
  74. android:textColor="@color/white"
  75. android:textSize="13dp"
  76. app:layout_constraintTop_toBottomOf="@+id/logout_image_view"
  77. app:layout_constraintBottom_toBottomOf="@+id/header_view"
  78. app:layout_constraintEnd_toEndOf="parent" />
  79.  
  80. <mvvmcross.droidx.recyclerview.MvxRecyclerView
  81. android:id="@+id/recycler_view"
  82. android:layout_width="0dp"
  83. android:layout_height="0dp"
  84. android:layout_marginTop="12dp"
  85. android:layout_marginBottom="12dp"
  86. app:layout_constraintBottom_toTopOf="@+id/version_text_view"
  87. app:layout_constraintStart_toStartOf="parent"
  88. app:layout_constraintEnd_toEndOf="parent"
  89. app:layout_constraintTop_toBottomOf="@+id/header_view" />
  90.  
  91. <TextView
  92. android:id="@+id/version_text_view"
  93. android:layout_width="wrap_content"
  94. android:layout_height="wrap_content"
  95. android:layout_marginHorizontal="16dp"
  96. android:fontFamily="@font/roboto_regular"
  97. android:textColor="@color/dark_bright"
  98. android:textSize="13dp"
  99. app:layout_constraintBottom_toTopOf="@+id/line_view"
  100. app:layout_constraintStart_toStartOf="parent" />
  101.  
  102. <TextView
  103. android:id="@+id/device_id_text_view"
  104. android:layout_width="wrap_content"
  105. android:layout_height="wrap_content"
  106. android:layout_marginHorizontal="16dp"
  107. android:fontFamily="@font/roboto_regular"
  108. android:textColor="@color/dark_bright"
  109. android:textSize="13dp"
  110. app:layout_constraintBottom_toTopOf="@+id/line_view"
  111. app:layout_constraintEnd_toEndOf="parent" />
  112.  
  113. <View
  114. android:id="@+id/line_view"
  115. android:layout_width="match_parent"
  116. android:layout_height="1dp"
  117. android:layout_marginHorizontal="16dp"
  118. android:layout_marginTop="4dp"
  119. android:layout_marginBottom="14dp"
  120. android:background="@color/gray_bright"
  121. app:layout_constraintBottom_toTopOf="@+id/changes_text_view" />
  122.  
  123. <TextView
  124. android:id="@+id/changes_text_view"
  125. android:layout_width="wrap_content"
  126. android:layout_height="wrap_content"
  127. android:layout_marginStart="16dp"
  128. android:fontFamily="@font/roboto_regular"
  129. android:textColor="@color/dark_bright"
  130. android:textSize="13dp"
  131. app:layout_constraintBottom_toTopOf="@+id/last_date_text_view"
  132. app:layout_constraintStart_toStartOf="parent" />
  133.  
  134. <TextView
  135. android:id="@+id/changes_count_text_view"
  136. android:layout_width="wrap_content"
  137. android:layout_height="wrap_content"
  138. android:layout_marginStart="4dp"
  139. android:layout_marginRight="16dp"
  140. android:fontFamily="@font/roboto_regular"
  141. android:textColor="@color/red"
  142. android:textSize="13dp"
  143. app:layout_constraintBottom_toTopOf="@+id/last_date_text_view"
  144. app:layout_constraintStart_toEndOf="@+id/changes_text_view" />
  145.  
  146. <TextView
  147. android:id="@+id/last_date_text_view"
  148. android:layout_width="wrap_content"
  149. android:layout_height="wrap_content"
  150. android:layout_marginHorizontal="16dp"
  151. android:layout_marginBottom="26dp"
  152. android:fontFamily="@font/roboto_regular"
  153. android:textColor="@color/dark_bright"
  154. android:textSize="13dp"
  155. app:layout_constraintBottom_toBottomOf="parent"
  156. app:layout_constraintStart_toStartOf="parent" />
  157.  
  158. <FrameLayout
  159. android:id="@+id/synced_frame_layout"
  160. android:layout_width="wrap_content"
  161. android:layout_height="48dp"
  162. android:layout_marginRight="16dp"
  163. android:layout_marginBottom="17dp"
  164. android:background="@color/red_lightest"
  165. app:layout_constraintBottom_toBottomOf="parent"
  166. app:layout_constraintEnd_toEndOf="parent">
  167.  
  168. <LinearLayout
  169. android:layout_width="wrap_content"
  170. android:layout_height="match_parent"
  171. android:paddingHorizontal="24dp">
  172.  
  173. <ImageView
  174. android:id="@+id/sync_image_view"
  175. android:layout_width="wrap_content"
  176. android:layout_height="wrap_content"
  177. android:layout_gravity="center"
  178. android:src="@drawable/ic_sync" />
  179.  
  180. <TextView
  181. android:id="@+id/sync_text_view"
  182. android:layout_width="wrap_content"
  183. android:layout_height="wrap_content"
  184. android:layout_gravity="center"
  185. android:layout_marginLeft="16dp"
  186. android:textColor="@color/red"
  187. android:textSize="17dp" />
  188. </LinearLayout>
  189. </FrameLayout>
  190.  
  191. <include
  192. android:id="@+id/loading_overlay"
  193. layout="@layout/layout_loading_overlay"
  194. android:visibility="invisible"
  195. app:layout_constraintBottom_toBottomOf="parent"
  196. app:layout_constraintEnd_toEndOf="parent"
  197. app:layout_constraintStart_toStartOf="parent"
  198. app:layout_constraintTop_toTopOf="parent" />
  199. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment