Rabbit-R1/switch port/java/resources/res/layout/fragment_set_passcode.xml

115 lines
4.7 KiB
XML
Raw Permalink Normal View History

2024-05-21 21:08:36 +00:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<tech.rabbit.r1launcher.initstep.widget.NumberPickerView
android:id="@+id/npv_picker"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<TextView
android:textSize="30sp"
android:textColor="@color/white"
android:layout_gravity="top"
android:id="@+id/tv_to_finish"
android:layout_width="142dp"
android:layout_height="wrap_content"
android:layout_marginTop="72dp"
android:text="@string/tips_passcode_click_to_finish"
android:includeFontPadding="false"
android:lineSpacingMultiplier="1.16"
android:alpha="0"
android:fontFamily="@font/power_grotesk_regular"
android:layout_marginStart="3dp"
android:textFontWeight="400"/>
<LinearLayout
android:layout_gravity="bottom"
android:orientation="vertical"
android:id="@+id/ll_tip_container"
android:layout_width="198dp"
android:layout_height="wrap_content"
android:layout_marginBottom="83dp"
android:layout_marginStart="3dp">
<TextView
android:textSize="30sp"
android:textColor="@color/white"
android:id="@+id/tv_tip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:includeFontPadding="false"
android:lineSpacingMultiplier="1.1"
android:fontFamily="@font/power_grotesk_regular"
android:textFontWeight="400"/>
<TextView
android:textSize="20sp"
android:textColor="@color/AAAAAA"
android:id="@+id/tv_retry"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginBottom="5dp"
android:text="@string/tips_passcode_set_passcode_please_try_again"
android:includeFontPadding="false"
android:fontFamily="@font/power_grotesk_regular"
android:letterSpacing="0.02"
android:textFontWeight="400"/>
</LinearLayout>
<View
android:layout_gravity="bottom"
android:background="@drawable/overlay_gradient_000000_00000000_a90"
android:layout_width="match_parent"
android:layout_height="60dp"/>
<FrameLayout
android:id="@+id/fl_continue_container"
android:background="@color/black"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:alpha="0">
<TextView
android:textSize="44sp"
android:textColor="@color/AAAAAA"
android:gravity="center"
android:layout_gravity="center"
android:id="@+id/tv_confirm_passcode"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:includeFontPadding="false"
android:fontFamily="@font/power_grotesk_regular"
android:letterSpacing="0.3"
android:textFontWeight="400"/>
<TextView
android:textSize="30sp"
android:textColor="@color/selector_000000_ffffff"
android:gravity="center"
android:layout_gravity="bottom"
android:id="@+id/tv_continue"
android:background="@drawable/selector_ff4d00_00000000_r10"
android:layout_width="match_parent"
android:layout_height="36dp"
android:minWidth="0dp"
android:minHeight="0dp"
android:text="@string/text_continue"
android:includeFontPadding="false"
android:fontFamily="@font/power_grotesk_regular"
android:layout_marginStart="3dp"
android:layout_marginEnd="3dp"
android:textFontWeight="400"/>
</FrameLayout>
<TextView
android:textSize="30sp"
android:textColor="@color/white"
android:id="@+id/tv_success_or_waiting"
android:background="@color/black"
android:paddingTop="80dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/tips_passcode_passcode_has_been_set_successfully"
android:includeFontPadding="false"
android:lineSpacingMultiplier="1.2"
android:alpha="0"
android:fontFamily="@font/power_grotesk_regular"
android:paddingStart="4dp"
android:textFontWeight="400"/>
</FrameLayout>