104 lines
4.1 KiB
XML
104 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="16dp"
|
|
app:cardCornerRadius="16dp"
|
|
app:cardElevation="8dp">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="16dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/image_view"
|
|
android:layout_width="120dp"
|
|
android:layout_height="120dp"
|
|
android:layout_marginTop="24dp"
|
|
android:src="@mipmap/placeholder"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="Please select an input method"
|
|
android:textColor="@color/white"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/image_view" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/first_select"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:background="@drawable/dialog_select_background"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:padding="12dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/title">
|
|
|
|
<ImageView
|
|
android:layout_width="28dp"
|
|
android:layout_height="28dp"
|
|
android:layout_marginEnd="10dp"
|
|
android:scaleType="centerCrop"
|
|
android:src="@mipmap/placeholder" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Enable the input method"
|
|
android:textColor="@color/black"
|
|
android:textSize="16sp"
|
|
android:textStyle="italic" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/second_select"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:background="@drawable/dialog_select_background"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:padding="12dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/first_select">
|
|
|
|
<ImageView
|
|
android:layout_width="28dp"
|
|
android:layout_height="28dp"
|
|
android:layout_marginEnd="10dp"
|
|
android:scaleType="centerCrop"
|
|
android:src="@mipmap/placeholder" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Select an input method"
|
|
android:textColor="@color/black"
|
|
android:textSize="16sp"
|
|
android:textStyle="italic" />
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="32dp"
|
|
android:background="@android:color/transparent"
|
|
app:layout_constraintTop_toBottomOf="@id/second_select" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.cardview.widget.CardView>
|