Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Тестовая система ругается на размер XML и не даёт его вставит -->
- <?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:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#FFAA00"
- tools:context=".MainActivity">
- <shape
- android:id="@+id/shape"
- android:layout_width="160dp"
- android:layout_height="164dp"
- android:shape="rectangle"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.498"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="0.481">
- <size
- android:height="100dp"
- android:width="100dp"/>
- <solid android:color="#00AA00" />
- </shape>
- <TextView
- android:id="@+id/textView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="175dp"
- android:layout_marginEnd="178dp"
- android:layout_marginBottom="248dp"
- android:text="Name"
- android:textColor="#FFFFFF"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.571"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/shape"
- app:layout_constraintVertical_bias="0.296" />
- <TextView
- android:id="@+id/textView3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="186dp"
- android:layout_marginEnd="186dp"
- android:layout_marginBottom="236dp"
- android:text="Surname"
- android:textColor="#FFFFFF"
- android:textSize="10sp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/textView2"
- app:layout_constraintVertical_bias="0.0" />
- <Button
- android:id="@+id/button"
- style="@style/Widget.AppCompat.Button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="160dp"
- android:layout_marginEnd="160dp"
- android:layout_marginBottom="151dp"
- android:text="Next"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/textView3"
- app:layout_constraintVertical_bias="1.0" />
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement