Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent"
- android:layout_height="match_parent"
- 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">
- <ScrollView
- android:id="@+id/scrollview"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_horizontal"
- android:orientation="vertical">
- <ImageView
- android:id="@+id/photo"
- android:layout_width="177dp"
- android:layout_height="115dp"
- android:layout_marginTop="12dp"
- android:clickable="false"
- android:scaleType="fitCenter"
- android:src="@drawable/photo"
- tools:ignore="ContentDescription" />
- <TextView
- android:id="@+id/title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="20dp"
- android:layout_marginLeft="20dp"
- android:layout_marginTop="25dp"
- android:layout_marginEnd="20dp"
- android:layout_marginRight="20dp"
- android:gravity="center"
- android:textSize="24sp"/>
- <TextView
- android:id="@+id/description"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="20dp"
- android:layout_marginLeft="20dp"
- android:layout_marginTop="10dp"
- android:layout_marginEnd="20dp"
- android:layout_marginRight="20dp"
- android:gravity="center"
- android:textSize="16sp"/>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="25dp"
- android:gravity="center"
- android:orientation="horizontal">
- <EditText
- android:id="@+id/number"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:digits="1234567890-."
- android:textAlignment="viewStart"
- android:imeOptions="actionNext"
- android:inputType="number"
- android:maxLength="14"
- android:minWidth="300dp"/>
- <ImageView
- android:id="@+id/question"
- android:layout_width="18dp"
- android:layout_height="18dp"
- android:layout_marginStart="-18dp"
- android:layout_marginLeft="-18dp"
- android:src="@drawable/question"/>
- </LinearLayout>
- <EditText
- android:id="@+id/birthday"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:digits="1234567890/"
- android:hint="@string/text"
- android:textAlignment="viewStart"
- android:inputType="number"
- android:minWidth="300dp" />
- </LinearLayout>
- </ScrollView>
- <Button
- android:id="@+id/next"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="10dp"
- android:minWidth="300dp"
- android:text="@string/common_next"
- android:layout_gravity="center"/>
- </LinearLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment