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_marginTop="40dp"
- tools:context=".ResultTestActivity">
- <TextView
- android:id="@+id/resultTitle"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:text="Результаты теста"
- android:textAlignment="center"
- android:textSize="40dp"
- android:layout_marginTop="40dp"
- app:layout_constraintBottom_toTopOf="@id/tvScore"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:id="@+id/tvScore"
- android:text="20/20"
- android:textSize="30dp"
- android:layout_marginTop="40dp"
- android:gravity="center"
- app:layout_constraintTop_toBottomOf="@id/resultTitle"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- />
- <Button
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:id="@+id/btnQuit"
- android:text="Конец теста"
- android:textSize="30dp"
- android:padding="15dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tvScore"
- app:layout_constraintBottom_toBottomOf="parent"
- />
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement