Files
AndroidJava/dash-wallet/wallet/res/layout/unlock_wallet_dialog.xml
T
coco 7846a45f2c a
2026-07-03 15:47:27 +08:00

59 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
style="@style/DialogContainer">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/dialog_text_content_spacing"
android:text="@string/wallet_lock_unlock_dialog_message"
style="@style/Overline"/>
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:divider="@drawable/divider_field"
android:orientation="horizontal"
android:showDividers="middle">
<EditText
android:id="@+id/pin"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:hint="@string/private_key_password"
android:imeOptions="flagNoExtractUi"
android:inputType="numberPassword"
android:singleLine="true"
style="@style/Body2.Medium"/>
<Button
android:id="@+id/unlock"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/wallet_lock_unlock"
style="@style/Button.Primary.Blue"/>
</LinearLayout>
<TextView
android:id="@+id/bad_pin"
tools:visibility="visible"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/private_key_bad_password"
android:layout_marginTop="2dp"
android:visibility="gone"
style="@style/Overline.SemiBold.Red"/>
<de.schildbach.wallet.ui.widget.FingerprintView
android:id="@+id/fingerprint_view"
android:visibility="gone"
tools:visibility="visible"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>