Code-Guard/app/src/main/res/layout/otp_code.xml
2023-09-19 21:18:27 +02:00

73 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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="wrap_content"
android:layout_margin="5dp"
android:background="@drawable/button_themed"
android:orientation="vertical"
android:padding="5dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:id="@+id/imageView5"
android:layout_width="60dp"
android:layout_height="match_parent"
android:scaleX="0.8"
android:scaleY="0.8"
app:srcCompat="@drawable/cringeauth_white"
tools:srcCompat="@drawable/cringeauth_white" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="bottom"
android:minHeight="25dp"
android:text="My OTP"
android:textAlignment="center"
android:textSize="16sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
android:gravity="center">
<Space
android:layout_width="30dp"
android:layout_height="match_parent" />
<TextView
android:id="@+id/otpCode"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="top"
android:text="000000"
android:textAlignment="center"
android:textSize="24sp" />
<ImageView
android:id="@+id/progress"
android:layout_width="30dp"
android:layout_height="30dp"
app:srcCompat="@drawable/progress_circle" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>