diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_pwgen.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_ssh_keygen.xml | 11 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
3 files changed, 13 insertions, 2 deletions
diff --git a/app/src/main/res/layout/fragment_pwgen.xml b/app/src/main/res/layout/fragment_pwgen.xml index 072a78a9..da436d8d 100644 --- a/app/src/main/res/layout/fragment_pwgen.xml +++ b/app/src/main/res/layout/fragment_pwgen.xml @@ -21,7 +21,8 @@ android:layout_marginBottom="8dp" android:editable="false" android:textIsSelectable="true" - android:inputType="textVisiblePassword"/> + android:inputType="textVisiblePassword" + android:fontFamily="monospace"/> <LinearLayout android:layout_width="match_parent" diff --git a/app/src/main/res/layout/fragment_ssh_keygen.xml b/app/src/main/res/layout/fragment_ssh_keygen.xml index e9995885..27fe068a 100644 --- a/app/src/main/res/layout/fragment_ssh_keygen.xml +++ b/app/src/main/res/layout/fragment_ssh_keygen.xml @@ -36,9 +36,18 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/ssh_keygen_passphrase" - android:inputType="textVisiblePassword"/> + android:inputType="textPassword" + android:fontFamily="monospace"/> </android.support.design.widget.TextInputLayout> + <CheckBox + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/ssh_keygen_show_passphrase" + android:id="@+id/show_passphrase" + android:checked="false" + android:layout_marginTop="8dp"/> + <android.support.design.widget.TextInputLayout android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9fae848d..f77b732d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -133,6 +133,7 @@ <string name="ssh_keygen_generate">Generate</string> <string name="ssh_keygen_copy">Copy</string> <string name="ssh_keygen_tip">Provide this public key to your Git server.</string> + <string name="ssh_keygen_show_passphrase">Show passphrase</string> <!-- Misc --> <string name="dialog_ok">OK</string> |