diff options
Diffstat (limited to 'OpenKeychain/src/main/res/layout/create_key_input_fragment.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/create_key_input_fragment.xml | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/OpenKeychain/src/main/res/layout/create_key_input_fragment.xml b/OpenKeychain/src/main/res/layout/create_key_input_fragment.xml index b320885d0..791eda88c 100644 --- a/OpenKeychain/src/main/res/layout/create_key_input_fragment.xml +++ b/OpenKeychain/src/main/res/layout/create_key_input_fragment.xml @@ -58,34 +58,20 @@ android:layout_height="wrap_content" android:text="@string/label_passphrase" /> - <FrameLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:layout_marginBottom="8dp"> - - <org.sufficientlysecure.keychain.ui.widget.PasswordEditText + <org.sufficientlysecure.keychain.ui.widget.PassphraseEditText android:id="@+id/create_key_passphrase" android:layout_width="match_parent" android:layout_height="wrap_content" android:imeOptions="actionNext" + android:inputType="textPassword" android:hint="@string/label_passphrase" android:ems="10" - android:layout_gravity="center_horizontal" /> - - <org.sufficientlysecure.keychain.ui.widget.passwordstrengthindicator.PasswordStrengthBarView - android:id="@+id/create_key_passphrase_strength" - android:layout_width="48dp" - android:layout_height="8dp" - android:layout_gravity="end|center_vertical" - custom:strength="medium" + android:layout_gravity="center_horizontal" custom:showGuides="false" custom:color_fail="@color/android_red_light" custom:color_weak="@color/android_orange_light" custom:color_strong="@color/android_green_light" /> - </FrameLayout> - <EditText android:id="@+id/create_key_passphrase_again" android:layout_width="match_parent" |