Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".TabletMainActivity"
- android:orientation="horizontal"
- android:background="#1C1A19">
- <LinearLayout
- android:layout_width="110dp"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center_horizontal">
- <Space
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="2"/>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:gravity="center_horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@android:drawable/btn_dialog" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Главное"
- android:textColor="#EF3A01" />
- </LinearLayout>
- <Space
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"/>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:gravity="center_horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@android:drawable/btn_dialog"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Подборка"
- android:textColor="@color/white" />
- </LinearLayout>
- <Space
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"/>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:gravity="center_horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@android:drawable/btn_dialog"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Коллекции"
- android:textColor="@color/white" />
- </LinearLayout>
- <Space
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="10"/>
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="30dp"
- android:text="Выход"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="fill_parent"
- android:layout_height="160dp"
- >
- <LinearLayout
- android:id="@+id/profile"
- android:paddingLeft="20dp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toLeftOf="@id/top_buttons"
- app:layout_constraintHorizontal_chainStyle="spread_inside"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@drawable/ic_launcher_foreground" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingLeft="10dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Воланд Иванов"
- android:textColor="@color/white"
- android:textSize="24sp"
- android:textStyle="bold" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingTop="5dp"
- android:text="[email protected]"
- android:textColor="@color/white"
- android:textSize="12sp" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/top_buttons"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintRight_toLeftOf="@id/prev_film"
- app:layout_constraintLeft_toRightOf="@id/profile"
- >
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@android:drawable/btn_dialog" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="15dp"
- android:text="Обсуждения"
- android:textColor="#EF3A01"
- android:textSize="16sp"
- android:textStyle="bold" />
- </LinearLayout>
- <LinearLayout
- android:layout_marginTop="15dp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@android:drawable/btn_dialog" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="15dp"
- android:text="История"
- android:textColor="#EF3A01"
- android:textSize="16sp"
- android:textStyle="bold" />
- </LinearLayout>
- <LinearLayout
- android:layout_marginTop="15dp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@android:drawable/btn_dialog" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="15dp"
- android:text="Настройки"
- android:textColor="#EF3A01"
- android:textSize="16sp"
- android:textStyle="bold" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/prev_film"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintLeft_toRightOf="@id/top_buttons"
- app:layout_constraintRight_toRightOf="parent"
- android:orientation="vertical"
- android:layout_marginRight="40dp"
- >
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Вы смотрели"
- android:textColor="#EF3A01"
- android:textSize="20sp"
- android:textStyle="bold" />
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- >
- <ImageView
- android:id="@+id/imageView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:srcCompat="@drawable/ic_launcher_background" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:srcCompat="@android:drawable/ic_media_play" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Altered Carbon"
- android:textColor="@color/white"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- android:layout_marginLeft="10dp"/>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </LinearLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="600dp"
- android:layout_height="match_parent"
- android:scaleType="centerCrop"
- app:srcCompat="@drawable/ic_launcher_background" />
- <ScrollView
- android:paddingLeft="10dp"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_marginTop="20dp"
- android:text="В тренде"
- android:textColor="#EF3A01"
- android:textSize="20sp"
- android:textStyle="bold" />
- <HorizontalScrollView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- tools:ignore="SpeakableTextPresentCheck">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@drawable/ic_launcher_foreground" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@drawable/ic_launcher_foreground" />
- </LinearLayout>
- </HorizontalScrollView>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_marginTop="20dp"
- android:text="Новое"
- android:textColor="#EF3A01"
- android:textSize="20sp"
- android:textStyle="bold" />
- <HorizontalScrollView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- tools:ignore="SpeakableTextPresentCheck">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@drawable/ic_launcher_foreground" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@drawable/ic_launcher_foreground" />
- </LinearLayout>
- </HorizontalScrollView>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_marginTop="20dp"
- android:text="Для вас"
- android:textColor="#EF3A01"
- android:textSize="20sp"
- android:textStyle="bold" />
- <HorizontalScrollView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- tools:ignore="SpeakableTextPresentCheck">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@drawable/ic_launcher_foreground" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@drawable/ic_launcher_foreground" />
- </LinearLayout>
- </HorizontalScrollView>
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment