Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.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:id="@+id/main"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="10dp"
- tools:context=".MainActivity">
- <TextView
- android:id="@+id/tvTitle"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:text="Quiz группы 3ПР"
- android:textSize="30dp"
- android:textAlignment="center"
- android:textColor="#00F0FF"
- app:layout_constraintVertical_bias="0"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:id="@+id/tvQuest"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:padding="20dp"
- android:text="Как называется учебное заведение в котором вы учитесь:\na)..."
- android:textSize="20sp"
- android:textColor="#9946F8"
- app:layout_constraintTop_toBottomOf="@id/tvTitle"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintBottom_toTopOf="@id/button1"
- />
- <Button
- android:id="@+id/button1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="A"
- app:layout_constraintTop_toBottomOf="@id/tvQuest"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toLeftOf="@id/button2"
- app:layout_constraintHorizontal_chainStyle="spread"
- />
- <Button
- android:id="@+id/button2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="B"
- app:layout_constraintTop_toBottomOf="@id/tvQuest"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toRightOf="@id/button1"
- app:layout_constraintRight_toLeftOf="@id/button3"
- />
- <Button
- android:id="@+id/button3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="C"
- app:layout_constraintTop_toBottomOf="@id/tvQuest"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toRightOf="@id/button2"
- app:layout_constraintRight_toRightOf="parent"
- />
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement