Little_hobbit

Untitled

Dec 8th, 2021
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.93 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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. tools:context=".TabletMainActivity"
  8. android:orientation="horizontal"
  9. android:background="#1C1A19">
  10.  
  11. <LinearLayout
  12. android:layout_width="110dp"
  13. android:layout_height="match_parent"
  14. android:orientation="vertical"
  15. android:gravity="center_horizontal">
  16.  
  17. <Space
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:layout_weight="2"/>
  21.  
  22. <LinearLayout
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:orientation="vertical"
  26. android:gravity="center_horizontal">
  27.  
  28. <ImageView
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. app:srcCompat="@android:drawable/btn_dialog" />
  32.  
  33. <TextView
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:text="Главное"
  37. android:textColor="#EF3A01" />
  38.  
  39.  
  40. </LinearLayout>
  41.  
  42. <Space
  43. android:layout_width="wrap_content"
  44. android:layout_height="wrap_content"
  45. android:layout_weight="1"/>
  46.  
  47.  
  48. <LinearLayout
  49. android:layout_width="wrap_content"
  50. android:layout_height="wrap_content"
  51. android:orientation="vertical"
  52. android:gravity="center_horizontal">
  53.  
  54. <ImageView
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. app:srcCompat="@android:drawable/btn_dialog"/>
  58.  
  59. <TextView
  60. android:layout_width="wrap_content"
  61. android:layout_height="wrap_content"
  62. android:text="Подборка"
  63. android:textColor="@color/white" />
  64. </LinearLayout>
  65.  
  66. <Space
  67. android:layout_width="wrap_content"
  68. android:layout_height="wrap_content"
  69. android:layout_weight="1"/>
  70.  
  71. <LinearLayout
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:orientation="vertical"
  75. android:gravity="center_horizontal">
  76.  
  77. <ImageView
  78. android:layout_width="wrap_content"
  79. android:layout_height="wrap_content"
  80. app:srcCompat="@android:drawable/btn_dialog"/>
  81.  
  82. <TextView
  83. android:layout_width="wrap_content"
  84. android:layout_height="wrap_content"
  85. android:text="Коллекции"
  86. android:textColor="@color/white" />
  87. </LinearLayout>
  88.  
  89. <Space
  90. android:layout_width="wrap_content"
  91. android:layout_height="wrap_content"
  92. android:layout_weight="10"/>
  93.  
  94.  
  95. <Button
  96. android:layout_width="wrap_content"
  97. android:layout_height="wrap_content"
  98. android:layout_marginBottom="30dp"
  99. android:text="Выход"/>
  100.  
  101. </LinearLayout>
  102.  
  103. <LinearLayout
  104. android:layout_width="fill_parent"
  105. android:layout_height="fill_parent"
  106. android:orientation="vertical">
  107.  
  108. <androidx.constraintlayout.widget.ConstraintLayout
  109. android:layout_width="fill_parent"
  110. android:layout_height="160dp"
  111. >
  112.  
  113. <LinearLayout
  114. android:id="@+id/profile"
  115. android:paddingLeft="20dp"
  116. android:layout_width="wrap_content"
  117. android:layout_height="wrap_content"
  118. app:layout_constraintBottom_toBottomOf="parent"
  119. app:layout_constraintTop_toTopOf="parent"
  120. app:layout_constraintLeft_toLeftOf="parent"
  121. app:layout_constraintRight_toLeftOf="@id/top_buttons"
  122. app:layout_constraintHorizontal_chainStyle="spread_inside"
  123. android:orientation="horizontal">
  124.  
  125. <ImageView
  126. android:layout_width="wrap_content"
  127. android:layout_height="wrap_content"
  128. app:srcCompat="@drawable/ic_launcher_foreground" />
  129.  
  130. <LinearLayout
  131. android:layout_width="wrap_content"
  132. android:layout_height="wrap_content"
  133. android:orientation="vertical"
  134. android:paddingLeft="10dp">
  135.  
  136. <TextView
  137. android:layout_width="wrap_content"
  138. android:layout_height="wrap_content"
  139. android:text="Воланд Иванов"
  140. android:textColor="@color/white"
  141. android:textSize="24sp"
  142. android:textStyle="bold" />
  143.  
  144. <TextView
  145. android:layout_width="wrap_content"
  146. android:layout_height="wrap_content"
  147. android:paddingTop="5dp"
  148. android:text="[email protected]"
  149. android:textColor="@color/white"
  150. android:textSize="12sp" />
  151.  
  152. </LinearLayout>
  153.  
  154.  
  155. </LinearLayout>
  156.  
  157. <LinearLayout
  158. android:id="@+id/top_buttons"
  159. android:layout_width="wrap_content"
  160. android:layout_height="wrap_content"
  161. android:orientation="vertical"
  162. app:layout_constraintBottom_toBottomOf="parent"
  163. app:layout_constraintTop_toTopOf="parent"
  164. app:layout_constraintRight_toLeftOf="@id/prev_film"
  165. app:layout_constraintLeft_toRightOf="@id/profile"
  166. >
  167.  
  168. <LinearLayout
  169. android:layout_width="wrap_content"
  170. android:layout_height="wrap_content"
  171. android:orientation="horizontal">
  172.  
  173. <ImageView
  174. android:layout_width="wrap_content"
  175. android:layout_height="wrap_content"
  176. app:srcCompat="@android:drawable/btn_dialog" />
  177.  
  178. <TextView
  179. android:layout_width="wrap_content"
  180. android:layout_height="wrap_content"
  181. android:layout_marginLeft="15dp"
  182. android:text="Обсуждения"
  183. android:textColor="#EF3A01"
  184. android:textSize="16sp"
  185. android:textStyle="bold" />
  186.  
  187. </LinearLayout>
  188.  
  189. <LinearLayout
  190. android:layout_marginTop="15dp"
  191. android:layout_width="wrap_content"
  192. android:layout_height="wrap_content"
  193. android:orientation="horizontal">
  194.  
  195. <ImageView
  196. android:layout_width="wrap_content"
  197. android:layout_height="wrap_content"
  198. app:srcCompat="@android:drawable/btn_dialog" />
  199.  
  200. <TextView
  201. android:layout_width="wrap_content"
  202. android:layout_height="wrap_content"
  203. android:layout_marginLeft="15dp"
  204. android:text="История"
  205. android:textColor="#EF3A01"
  206. android:textSize="16sp"
  207. android:textStyle="bold" />
  208.  
  209. </LinearLayout>
  210.  
  211. <LinearLayout
  212. android:layout_marginTop="15dp"
  213. android:layout_width="wrap_content"
  214. android:layout_height="wrap_content"
  215. android:orientation="horizontal">
  216.  
  217. <ImageView
  218. android:layout_width="wrap_content"
  219. android:layout_height="wrap_content"
  220. app:srcCompat="@android:drawable/btn_dialog" />
  221.  
  222. <TextView
  223. android:layout_width="wrap_content"
  224. android:layout_height="wrap_content"
  225. android:layout_marginLeft="15dp"
  226. android:text="Настройки"
  227. android:textColor="#EF3A01"
  228. android:textSize="16sp"
  229. android:textStyle="bold" />
  230.  
  231. </LinearLayout>
  232.  
  233.  
  234. </LinearLayout>
  235.  
  236. <LinearLayout
  237. android:id="@+id/prev_film"
  238. android:layout_width="wrap_content"
  239. android:layout_height="wrap_content"
  240. app:layout_constraintBottom_toBottomOf="parent"
  241. app:layout_constraintTop_toTopOf="parent"
  242. app:layout_constraintLeft_toRightOf="@id/top_buttons"
  243. app:layout_constraintRight_toRightOf="parent"
  244. android:orientation="vertical"
  245. android:layout_marginRight="40dp"
  246. >
  247.  
  248. <TextView
  249. android:layout_width="wrap_content"
  250. android:layout_height="wrap_content"
  251. android:text="Вы смотрели"
  252. android:textColor="#EF3A01"
  253. android:textSize="20sp"
  254. android:textStyle="bold" />
  255.  
  256. <androidx.constraintlayout.widget.ConstraintLayout
  257. android:layout_width="wrap_content"
  258. android:layout_height="wrap_content"
  259. >
  260.  
  261. <ImageView
  262. android:id="@+id/imageView"
  263. android:layout_width="wrap_content"
  264. android:layout_height="wrap_content"
  265. app:layout_constraintBottom_toBottomOf="parent"
  266. app:layout_constraintEnd_toEndOf="parent"
  267. app:layout_constraintStart_toStartOf="parent"
  268. app:layout_constraintTop_toTopOf="parent"
  269. app:srcCompat="@drawable/ic_launcher_background" />
  270.  
  271. <ImageView
  272. android:layout_width="wrap_content"
  273. android:layout_height="wrap_content"
  274. app:layout_constraintBottom_toBottomOf="parent"
  275. app:layout_constraintEnd_toEndOf="parent"
  276. app:layout_constraintStart_toStartOf="parent"
  277. app:layout_constraintTop_toTopOf="parent"
  278. app:srcCompat="@android:drawable/ic_media_play" />
  279.  
  280. <TextView
  281. android:layout_width="wrap_content"
  282. android:layout_height="wrap_content"
  283. android:text="Altered Carbon"
  284. android:textColor="@color/white"
  285. app:layout_constraintBottom_toBottomOf="parent"
  286. app:layout_constraintStart_toStartOf="parent"
  287. android:layout_marginLeft="10dp"/>
  288.  
  289. </androidx.constraintlayout.widget.ConstraintLayout>
  290.  
  291.  
  292. </LinearLayout>
  293.  
  294. </androidx.constraintlayout.widget.ConstraintLayout>
  295.  
  296. <LinearLayout
  297. android:layout_width="match_parent"
  298. android:layout_height="match_parent"
  299. android:orientation="horizontal">
  300.  
  301. <ImageView
  302. android:layout_width="600dp"
  303. android:layout_height="match_parent"
  304. android:scaleType="centerCrop"
  305. app:srcCompat="@drawable/ic_launcher_background" />
  306.  
  307. <ScrollView
  308. android:paddingLeft="10dp"
  309. android:layout_width="fill_parent"
  310. android:layout_height="fill_parent">
  311.  
  312. <LinearLayout
  313. android:layout_width="match_parent"
  314. android:layout_height="wrap_content"
  315. android:orientation="vertical">
  316.  
  317. <TextView
  318. android:layout_width="wrap_content"
  319. android:layout_height="match_parent"
  320. android:layout_marginTop="20dp"
  321. android:text="В тренде"
  322. android:textColor="#EF3A01"
  323. android:textSize="20sp"
  324. android:textStyle="bold" />
  325.  
  326. <HorizontalScrollView
  327. android:layout_width="wrap_content"
  328. android:layout_height="wrap_content"
  329. android:layout_marginTop="10dp"
  330. tools:ignore="SpeakableTextPresentCheck">
  331.  
  332. <LinearLayout
  333. android:layout_width="wrap_content"
  334. android:layout_height="wrap_content">
  335.  
  336. <ImageView
  337. android:layout_width="wrap_content"
  338. android:layout_height="wrap_content"
  339. app:srcCompat="@drawable/ic_launcher_foreground" />
  340.  
  341. <ImageView
  342. android:layout_width="wrap_content"
  343. android:layout_height="wrap_content"
  344. app:srcCompat="@drawable/ic_launcher_foreground" />
  345.  
  346. </LinearLayout>
  347.  
  348. </HorizontalScrollView>
  349.  
  350. <TextView
  351. android:layout_width="wrap_content"
  352. android:layout_height="match_parent"
  353. android:layout_marginTop="20dp"
  354. android:text="Новое"
  355. android:textColor="#EF3A01"
  356. android:textSize="20sp"
  357. android:textStyle="bold" />
  358.  
  359. <HorizontalScrollView
  360. android:layout_width="wrap_content"
  361. android:layout_height="wrap_content"
  362. android:layout_marginTop="10dp"
  363. tools:ignore="SpeakableTextPresentCheck">
  364.  
  365. <LinearLayout
  366. android:layout_width="wrap_content"
  367. android:layout_height="wrap_content">
  368.  
  369. <ImageView
  370. android:layout_width="wrap_content"
  371. android:layout_height="wrap_content"
  372. app:srcCompat="@drawable/ic_launcher_foreground" />
  373.  
  374. <ImageView
  375. android:layout_width="wrap_content"
  376. android:layout_height="wrap_content"
  377. app:srcCompat="@drawable/ic_launcher_foreground" />
  378.  
  379. </LinearLayout>
  380.  
  381. </HorizontalScrollView>
  382.  
  383. <TextView
  384. android:layout_width="wrap_content"
  385. android:layout_height="match_parent"
  386. android:layout_marginTop="20dp"
  387. android:text="Для вас"
  388. android:textColor="#EF3A01"
  389. android:textSize="20sp"
  390. android:textStyle="bold" />
  391.  
  392. <HorizontalScrollView
  393. android:layout_width="wrap_content"
  394. android:layout_height="wrap_content"
  395. android:layout_marginTop="10dp"
  396. tools:ignore="SpeakableTextPresentCheck">
  397.  
  398. <LinearLayout
  399. android:layout_width="wrap_content"
  400. android:layout_height="wrap_content">
  401.  
  402. <ImageView
  403. android:layout_width="wrap_content"
  404. android:layout_height="wrap_content"
  405. app:srcCompat="@drawable/ic_launcher_foreground" />
  406.  
  407. <ImageView
  408. android:layout_width="wrap_content"
  409. android:layout_height="wrap_content"
  410. app:srcCompat="@drawable/ic_launcher_foreground" />
  411.  
  412. </LinearLayout>
  413.  
  414. </HorizontalScrollView>
  415.  
  416.  
  417. </LinearLayout>
  418.  
  419. </ScrollView>
  420.  
  421. </LinearLayout>
  422.  
  423.  
  424. </LinearLayout>
  425.  
  426.  
  427. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment