<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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=".MainActivity"
tools:layout_editor_absoluteY="25dp">
<RelativeLayout
android:id="@+id/sectionHeader"
android:layout_width="match_parent"
android:layout_height="250dp"
android:background="@color/colorSlider"
android:orientation="horizontal">
<LinearLayout
android:id="@+id/articleNav"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Навигация" />
</LinearLayout>
<LinearLayout
android:id="@+id/articleSlider"
android:layout_width="match_parent"
android:layout_height="130dp"
android:layout_alignParentStart="true"
android:layout_below="@+id/articleNav"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Слайдер" />
</LinearLayout>
<LinearLayout
android:id="@+id/articleIndicators"
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_alignParentStart="true"
android:layout_below="@+id/articleSlider"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Индикаторы" />
</LinearLayout>
</RelativeLayout>
<LinearLayout
android:id="@+id/linearLayout3"
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="horizontal"
android:weightSum="2">
<Button
android:id="@+id/button8"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginRight="7.5dp"
android:layout_weight="1"
android:text="Button" />
<Button
android:id="@+id/button7"
android:layout_width="0dp"
android:layout_height="100dp"
android:layout_marginLeft="7.5dp"
android:layout_weight="1"
android:text="Button_1" />
</LinearLayout>
</android.support.constraint.ConstraintLayout>
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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:layout_editor_absoluteY="25dp">
<RelativeLayout
android:id="@+id/sectionHeader"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="@+id/buttonsCenter"
android:background="#999"
android:orientation="horizontal"/>
<LinearLayout
android:id="@+id/articleNav"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Навигация" />
</LinearLayout>
<LinearLayout
app:layout_constraintTop_toBottomOf="@+id/articleNav"
android:id="@+id/articleSlider"
android:layout_width="match_parent"
android:layout_height="130dp"
android:layout_alignParentStart="true"
android:layout_below="@+id/articleNav"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Слайдер" />
</LinearLayout>
<LinearLayout
app:layout_constraintTop_toBottomOf="@+id/articleSlider"
android:id="@+id/articleIndicators"
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_alignParentStart="true"
android:layout_below="@+id/articleSlider"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Индикаторы" />
</LinearLayout>
<android.support.constraint.Guideline
android:id="@+id/buttonsCenter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_begin="250dp"/>
<LinearLayout
app:layout_constraintTop_toBottomOf="@+id/articleIndicators"
android:id="@+id/linearLayout3"
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="horizontal"
android:weightSum="2">
<Button
android:id="@+id/button8"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginRight="7.5dp"
android:layout_weight="1"
android:text="Button" />
<Button
android:id="@+id/button7"
android:layout_width="0dp"
android:layout_height="100dp"
android:layout_marginLeft="7.5dp"
android:layout_weight="1"
android:text="Button_1" />
</LinearLayout>
</android.support.constraint.ConstraintLayout>
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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:layout_editor_absoluteY="25dp">
<RelativeLayout
android:id="@+id/sectionHeader"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="@+id/linearLayout3"
android:layout_marginBottom="50dp"
android:background="#999"
android:orientation="horizontal"/>
<LinearLayout
android:id="@+id/articleNav"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Навигация" />
</LinearLayout>
<LinearLayout
app:layout_constraintTop_toBottomOf="@+id/articleNav"
android:id="@+id/articleSlider"
android:layout_width="match_parent"
android:layout_height="130dp"
android:layout_alignParentStart="true"
android:layout_below="@+id/articleNav"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Слайдер" />
</LinearLayout>
<LinearLayout
app:layout_constraintTop_toBottomOf="@+id/articleSlider"
android:id="@+id/articleIndicators"
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_alignParentStart="true"
android:layout_below="@+id/articleSlider"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Индикаторы" />
</LinearLayout>
<LinearLayout
app:layout_constraintTop_toBottomOf="@+id/articleIndicators"
android:id="@+id/linearLayout3"
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="horizontal"
android:weightSum="2">
<Button
android:id="@+id/button8"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginRight="7.5dp"
android:layout_weight="1"
android:text="Button" />
<Button
android:id="@+id/button7"
android:layout_width="0dp"
android:layout_height="100dp"
android:layout_marginLeft="7.5dp"
android:layout_weight="1"
android:text="Button_1" />
</LinearLayout>
</android.support.constraint.ConstraintLayout>
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.LinearLayoutCompat 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"
android:orientation="vertical"
tools:context=".MainActivity">
<LinearLayout
android:id="@+id/sectionHeader"
android:layout_width="match_parent"
android:layout_height="250dp"
android:orientation="vertical">
<LinearLayout
android:id="@+id/articleNav"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Навигация" />
</LinearLayout>
<RelativeLayout
android:id="@+id/articleSlider"
android:layout_width="match_parent"
android:layout_height="130dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Слайдер" />
</RelativeLayout>
<LinearLayout
android:id="@+id/articleIndicators"
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_alignParentStart="true"
android:layout_below="@+id/articleSlider"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Индикаторы" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_marginTop="-50dp"
android:orientation="horizontal"
android:weightSum="2">
<Button
android:id="@+id/button8"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginRight="7.5dp"
android:layout_marginLeft="16dp"
android:layout_weight="1"
android:text="Button" />
<Button
android:id="@+id/button7"
android:layout_width="0dp"
android:layout_height="100dp"
android:layout_marginLeft="7.5dp"
android:layout_marginRight="16dp"
android:layout_weight="1"
android:text="Button_1"/>
</LinearLayout>
</android.support.v7.widget.LinearLayoutCompat>