2012-09-11 15:27:32 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-09-07 17:27:25 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-03-06 11:13:56 +05:30
|
|
|
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
2014-01-12 21:33:37 +01:00
|
|
|
android:layout_width="match_parent"
|
2012-09-11 15:27:32 +02:00
|
|
|
android:layout_height="wrap_content"
|
2014-09-07 17:27:25 +02:00
|
|
|
android:orientation="vertical"
|
2015-02-27 01:26:04 +01:00
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:paddingLeft="24dp"
|
|
|
|
|
android:paddingRight="24dp">
|
2012-09-11 15:27:32 +02:00
|
|
|
|
2014-07-03 15:48:46 +02:00
|
|
|
<CheckBox
|
|
|
|
|
android:id="@+id/passphrase_no_passphrase"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/label_no_passphrase" />
|
|
|
|
|
|
2015-03-06 11:13:56 +05:30
|
|
|
<FrameLayout
|
2014-09-07 17:27:25 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
2015-03-06 11:13:56 +05:30
|
|
|
android:layout_marginBottom="8dp">
|
|
|
|
|
|
2015-03-06 22:00:30 +05:30
|
|
|
<org.sufficientlysecure.keychain.ui.widget.PassphraseEditText
|
2015-03-06 11:13:56 +05:30
|
|
|
android:id="@+id/passphrase_passphrase"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:imeOptions="actionNext"
|
|
|
|
|
android:hint="@string/label_passphrase"
|
2015-03-06 22:25:35 +05:30
|
|
|
android:inputType="textPassword"
|
2015-03-06 11:13:56 +05:30
|
|
|
android:ems="10"
|
|
|
|
|
android:layout_gravity="center_horizontal" />
|
|
|
|
|
|
2015-04-25 23:40:26 +02:00
|
|
|
<org.sufficientlysecure.keychain.ui.widget.PasswordStrengthBarView
|
2015-03-06 11:13:56 +05:30
|
|
|
android:id="@+id/passphrase_repeat_passphrase_strength"
|
|
|
|
|
android:layout_width="48dp"
|
|
|
|
|
android:layout_height="8dp"
|
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
|
custom:strength="medium"
|
|
|
|
|
custom:showGuides="false"
|
2015-06-26 12:12:19 +02:00
|
|
|
custom:color_fail="@color/password_strength_low"
|
|
|
|
|
custom:color_weak="@color/password_strength_medium"
|
|
|
|
|
custom:color_strong="@color/password_strength_high" />
|
2015-03-06 11:13:56 +05:30
|
|
|
|
|
|
|
|
</FrameLayout>
|
2014-09-07 17:27:25 +02:00
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/passphrase_passphrase_again"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:imeOptions="actionDone"
|
|
|
|
|
android:inputType="textPassword"
|
|
|
|
|
android:hint="@string/label_passphrase_again"
|
|
|
|
|
android:ems="10"
|
|
|
|
|
android:layout_gravity="center_horizontal" />
|
|
|
|
|
|
2015-06-26 12:12:19 +02:00
|
|
|
</LinearLayout>
|