112 lines
4.2 KiB
XML
112 lines
4.2 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_marginTop="@dimen/list_entry_padding_vertical"
|
|
android:text="@string/encrypt_keys_dialog_message"
|
|
android:layout_marginBottom="@dimen/space_medium"
|
|
style="@style/Overline"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/encrypt_keys_dialog_password_old_group"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/list_entry_padding_vertical"
|
|
android:orientation="horizontal"
|
|
android:showDividers="middle" >
|
|
|
|
<EditText
|
|
android:id="@+id/encrypt_keys_dialog_password_old"
|
|
android:layout_width="0px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:hint="@string/encrypt_keys_dialog_password_old"
|
|
android:imeOptions="flagNoExtractUi"
|
|
android:inputType="numberPassword"
|
|
android:singleLine="true"
|
|
style="@style/Body2.Medium"/>
|
|
|
|
<TextView
|
|
tools:visibility="visible"
|
|
android:id="@+id/encrypt_keys_dialog_bad_password"
|
|
android:layout_width="0px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/private_key_bad_password"
|
|
android:textColor="@color/fg_error"
|
|
android:visibility="invisible"
|
|
style="@style/Overline.SemiBold.Red"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/list_entry_padding_vertical"
|
|
android:divider="@drawable/divider_field"
|
|
android:orientation="horizontal"
|
|
android:showDividers="middle" >
|
|
|
|
<EditText
|
|
android:id="@+id/encrypt_keys_dialog_password_new"
|
|
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"/>
|
|
|
|
<TextView
|
|
tools:visibility="visible"
|
|
tools:text="weak"
|
|
android:id="@+id/encrypt_keys_dialog_password_strength"
|
|
android:layout_width="0px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
style="@style/Overline.SemiBold.Secondary"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<de.schildbach.wallet.ui.widget.StyledCheckBox
|
|
android:id="@+id/encrypt_keys_dialog_show"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/list_entry_padding_vertical"
|
|
android:layout_marginTop="@dimen/list_entry_padding_vertical"
|
|
android:text="@string/encrypt_keys_dialog_show"
|
|
style="@style/OldCheckBox"/>
|
|
|
|
<TextView
|
|
android:id="@+id/pin_attempts"
|
|
tools:visibility="visible"
|
|
tools:text="6 attempts remaining"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/fg_error"
|
|
android:visibility="gone"
|
|
style="@style/Overline.SemiBold.Red"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/list_entry_padding"
|
|
android:layout_marginTop="@dimen/list_entry_padding"
|
|
android:text="@string/encrypt_keys_dialog_warning"
|
|
style="@style/Overline.Medium.Secondary"/>
|
|
|
|
<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> |