Guest User

Untitled

a guest
Sep 4th, 2020
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.50 KB | None | 0 0
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:app="http://schemas.android.com/apk/res-auto"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:divider="@drawable/separator"
  7. android:orientation="vertical"
  8. android:showDividers="middle">
  9.  
  10. <androidx.appcompat.widget.Toolbar
  11. android:id="@+id/toolbar"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:background="@color/design_default_color_background"
  15. android:fitsSystemWindows="true"
  16. android:minHeight="?attr/actionBarSize"
  17. app:theme="@style/ToolbarColoredBackArrow">
  18.  
  19. <androidx.constraintlayout.widget.ConstraintLayout
  20. android:layout_width="match_parent"
  21. android:layout_height="match_parent">
  22.  
  23. <ImageView
  24. android:id="@+id/imageView_back"
  25. android:layout_width="48dp"
  26. android:layout_height="48dp"
  27. android:padding="12dp"
  28. app:layout_constraintStart_toStartOf="parent"
  29. app:layout_constraintTop_toTopOf="parent"
  30. app:srcCompat="@drawable/back" />
  31.  
  32. <TextView
  33. android:id="@+id/toolbar_title"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_gravity="center"
  37. android:layout_marginStart="8dp"
  38. android:layout_marginLeft="8dp"
  39. android:layout_marginEnd="8dp"
  40. android:layout_marginRight="8dp"
  41. android:textColor="@color/colorTextBlack"
  42. android:textSize="18sp"
  43. app:layout_constraintBottom_toBottomOf="parent"
  44. app:layout_constraintEnd_toEndOf="parent"
  45. app:layout_constraintStart_toStartOf="parent"
  46. app:layout_constraintTop_toTopOf="parent" />
  47.  
  48. <ImageView
  49. android:id="@+id/imageView_setting"
  50. android:layout_width="48dp"
  51. android:layout_height="48dp"
  52. android:layout_marginEnd="8dp"
  53. android:layout_marginRight="8dp"
  54. android:padding="8dp"
  55. app:layout_constraintEnd_toEndOf="parent"
  56. app:layout_constraintTop_toTopOf="parent"
  57. app:srcCompat="@drawable/setting" />
  58. </androidx.constraintlayout.widget.ConstraintLayout>
  59.  
  60. </androidx.appcompat.widget.Toolbar>
  61.  
  62. <LinearLayout
  63. android:layout_width="match_parent"
  64. android:layout_height="match_parent"
  65. android:layout_marginBottom="10dp"
  66. android:background="@color/design_default_color_background"
  67. android:orientation="vertical">
  68.  
  69.  
  70. <com.app.peshkariki.CustomSwipeRefreshLayout
  71. android:id="@+id/swipeRefreshLayout"
  72. android:layout_width="match_parent"
  73. android:layout_height="match_parent"
  74. android:visibility="visible">
  75.  
  76. <LinearLayout
  77. android:id="@+id/root_ll"
  78. android:layout_width="match_parent"
  79. android:layout_height="wrap_content"
  80. android:orientation="vertical"
  81. android:visibility="visible">
  82.  
  83. <androidx.core.widget.NestedScrollView
  84. android:layout_width="match_parent"
  85. android:layout_height="match_parent"
  86. android:fillViewport="true">
  87.  
  88. <LinearLayout
  89. android:layout_width="match_parent"
  90. android:layout_height="wrap_content"
  91. android:orientation="vertical">
  92.  
  93. <androidx.constraintlayout.widget.ConstraintLayout
  94. android:id="@+id/ll_changestatus"
  95. android:layout_width="match_parent"
  96. android:layout_height="wrap_content">
  97.  
  98. <androidx.appcompat.widget.AppCompatButton
  99. android:id="@+id/button_edit"
  100. android:layout_width="0dp"
  101. android:layout_height="36dp"
  102. android:layout_marginStart="16dp"
  103. android:layout_marginLeft="16dp"
  104. android:layout_marginTop="8dp"
  105. android:layout_marginEnd="8dp"
  106. android:layout_marginRight="8dp"
  107. android:layout_weight="0.5"
  108. android:background="@drawable/button_outline_red"
  109. android:text="Редактировать"
  110. android:textColor="@color/colorRed2"
  111. app:layout_constraintBottom_toTopOf="@+id/textView_head_order"
  112. app:layout_constraintEnd_toStartOf="@+id/space"
  113. app:layout_constraintStart_toStartOf="parent"
  114. app:layout_constraintTop_toTopOf="parent" />
  115. <androidx.appcompat.widget.AppCompatButton
  116. android:id="@+id/button_rate_courier"
  117. android:layout_width="0dp"
  118. android:layout_height="36dp"
  119. android:layout_marginStart="16dp"
  120. android:layout_marginLeft="16dp"
  121. android:layout_marginTop="8dp"
  122. android:layout_marginEnd="8dp"
  123. android:layout_marginRight="8dp"
  124. android:layout_weight="0.5"
  125. android:background="@drawable/button_outline_red"
  126. android:text="Поставить оценку"
  127. android:textColor="@color/colorRed2"
  128. app:layout_constraintBottom_toTopOf="@+id/textView_head_order"
  129. app:layout_constraintEnd_toStartOf="@+id/space"
  130. app:layout_constraintStart_toStartOf="parent"
  131. app:layout_constraintTop_toTopOf="parent"
  132. android:visibility="gone"/>
  133.  
  134. <Space
  135. android:id="@+id/space"
  136. android:layout_width="wrap_content"
  137. android:layout_height="wrap_content"
  138. android:layout_marginTop="8dp"
  139. app:layout_constraintBottom_toTopOf="@+id/textView_head_order"
  140. app:layout_constraintEnd_toEndOf="parent"
  141. app:layout_constraintStart_toStartOf="parent"
  142. app:layout_constraintTop_toTopOf="parent" />
  143.  
  144. <androidx.appcompat.widget.AppCompatButton
  145. android:id="@+id/button_info"
  146. android:layout_width="0dp"
  147. android:layout_height="36dp"
  148. android:layout_marginStart="8dp"
  149. android:layout_marginLeft="8dp"
  150. android:layout_marginTop="8dp"
  151. android:layout_marginEnd="16dp"
  152.  
  153. android:layout_marginRight="16dp"
  154. android:layout_weight="0.5"
  155. android:background="@drawable/button_outline_red"
  156. android:text="Маршрут"
  157. android:textColor="@color/colorRed2"
  158. app:layout_constraintBottom_toTopOf="@+id/textView_head_order"
  159. app:layout_constraintEnd_toEndOf="parent"
  160. app:layout_constraintStart_toEndOf="@+id/space"
  161. app:layout_constraintTop_toTopOf="parent" />
  162.  
  163. <TextView
  164. android:id="@+id/textView_head_order"
  165. android:layout_width="0dp"
  166. android:layout_height="wrap_content"
  167. android:layout_marginStart="8dp"
  168. android:layout_marginLeft="8dp"
  169. android:layout_marginEnd="8dp"
  170. android:layout_marginRight="8dp"
  171. app:layout_constraintBottom_toBottomOf="parent"
  172. app:layout_constraintEnd_toEndOf="parent"
  173. app:layout_constraintStart_toStartOf="parent"
  174. tools:visibility="visible" />
  175.  
  176. </androidx.constraintlayout.widget.ConstraintLayout>
  177.  
  178. <androidx.cardview.widget.CardView
  179. android:id="@+id/order_courier"
  180. android:layout_width="match_parent"
  181. android:layout_height="wrap_content"
  182. android:layout_margin="5dp"
  183. android:padding="10dp"
  184. app:cardBackgroundColor="@color/orderColor"
  185. app:cardCornerRadius="14dp"
  186. app:cardElevation="3dp">
  187.  
  188. <androidx.constraintlayout.widget.ConstraintLayout
  189. android:layout_width="match_parent"
  190. android:layout_height="wrap_content"
  191. android:layout_marginLeft="12dp"
  192. android:layout_marginTop="8dp"
  193. android:layout_marginRight="12dp"
  194. android:layout_marginBottom="8dp"
  195. android:orientation="vertical">
  196.  
  197. <TextView
  198. android:id="@+id/textView_name"
  199. android:layout_width="0dp"
  200. android:layout_height="wrap_content"
  201. android:lineSpacingExtra="4dp"
  202. android:textColor="@color/colorTextBlack"
  203. app:layout_constraintLeft_toLeftOf="parent"
  204. app:layout_constraintRight_toLeftOf="@id/textView_rating"
  205. app:layout_constraintTop_toTopOf="parent"
  206. tools:text="fdsfsd fsdfdsf sdfdsfsdf fdsfsd" />
  207.  
  208. <TextView
  209. android:id="@+id/textView_phone"
  210. android:layout_width="match_parent"
  211. android:layout_height="wrap_content"
  212. android:lineSpacingExtra="4dp"
  213. android:textColor="@color/colorTextBlack"
  214. app:layout_constraintLeft_toLeftOf="parent"
  215. app:layout_constraintRight_toRightOf="parent"
  216. app:layout_constraintTop_toBottomOf="@id/textView_name"
  217.  
  218. tools:text="fdsfsd fsdfdsf sdfdsfsdf fdsfsd2" />
  219.  
  220. <TextView
  221. android:id="@+id/textView_rate"
  222. android:layout_width="match_parent"
  223. android:layout_height="wrap_content"
  224. android:lineSpacingExtra="4dp"
  225. android:textColor="@color/colorTextBlack"
  226. app:layout_constraintBottom_toBottomOf="parent"
  227. app:layout_constraintLeft_toLeftOf="parent"
  228. app:layout_constraintRight_toRightOf="parent"
  229. app:layout_constraintTop_toBottomOf="@id/textView_phone"
  230. tools:text="рейтинг кура" />
  231.  
  232. <TextView
  233. android:id="@+id/textView_rating"
  234. android:layout_width="40dp"
  235. android:layout_height="wrap_content"
  236. android:gravity="center"
  237. android:lineSpacingExtra="4dp"
  238. android:textColor="@color/colorTextBlack"
  239. app:layout_constraintRight_toRightOf="parent"
  240. app:layout_constraintTop_toBottomOf="@id/textView_rating"
  241. app:layout_constraintTop_toTopOf="parent"
  242. tools:text="100" />
  243.  
  244.  
  245. </androidx.constraintlayout.widget.ConstraintLayout>
  246.  
  247.  
  248. </androidx.cardview.widget.CardView>
  249.  
  250.  
  251. <androidx.recyclerview.widget.RecyclerView
  252. android:id="@+id/recyclerView_order"
  253. android:layout_width="match_parent"
  254. android:layout_height="wrap_content"
  255. android:overScrollMode="never" />
  256.  
  257. <androidx.cardview.widget.CardView
  258. android:layout_width="match_parent"
  259. android:layout_height="wrap_content"
  260. android:layout_margin="5dp"
  261. android:padding="10dp"
  262. app:cardBackgroundColor="@color/orderColor"
  263. app:cardCornerRadius="14dp"
  264. app:cardElevation="3dp">
  265.  
  266. <TextView
  267. android:id="@+id/textView_gruz"
  268. android:layout_width="wrap_content"
  269. android:layout_height="wrap_content"
  270. android:layout_marginLeft="12dp"
  271. android:layout_marginTop="8dp"
  272. android:layout_marginRight="12dp"
  273. android:layout_marginBottom="8dp"
  274. android:lineSpacingExtra="4dp"
  275. android:textColor="@color/colorTextBlack" />
  276. </androidx.cardview.widget.CardView>
  277.  
  278. <androidx.recyclerview.widget.RecyclerView
  279. android:id="@+id/recyclerView_photos"
  280. android:layout_width="match_parent"
  281. android:layout_height="wrap_content"
  282. android:layout_marginBottom="10dp"
  283. android:clipToPadding="false"
  284. android:divider="@null"
  285. android:dividerHeight="0dp"
  286. android:scrollbars="horizontal"
  287. tools:visibility="visible" />
  288.  
  289. </LinearLayout>
  290.  
  291. </androidx.core.widget.NestedScrollView>
  292.  
  293.  
  294. </LinearLayout>
  295.  
  296. </com.app.peshkariki.CustomSwipeRefreshLayout>
  297. </LinearLayout>
  298. </LinearLayout>
Add Comment
Please, Sign In to add comment