From f89d5c282faf34234440a89d1765ac43baa54be9 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 25 Apr 2020 16:53:40 +0530 Subject: Improve UX around settings items (#744) Fixes #461 --- app/src/main/res/layout/activity_git_config.xml | 2 +- app/src/main/res/layout/fragment_ssh_keygen.xml | 33 +++++++++++++++++++++---- 2 files changed, 29 insertions(+), 6 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_git_config.xml b/app/src/main/res/layout/activity_git_config.xml index 94c09e27..0ea45c55 100644 --- a/app/src/main/res/layout/activity_git_config.xml +++ b/app/src/main/res/layout/activity_git_config.xml @@ -23,7 +23,7 @@ android:id="@+id/git_user_name" android:layout_width="match_parent" android:layout_height="wrap_content" - android:inputType="textNoSuggestions|textVisiblePassword" /> + android:inputType="textPersonName" /> diff --git a/app/src/main/res/layout/fragment_ssh_keygen.xml b/app/src/main/res/layout/fragment_ssh_keygen.xml index 16c3f512..90cf4df0 100644 --- a/app/src/main/res/layout/fragment_ssh_keygen.xml +++ b/app/src/main/res/layout/fragment_ssh_keygen.xml @@ -17,11 +17,34 @@ android:gravity="center_vertical" android:text="@string/ssh_keygen_length" /> - + app:selectionRequired="true" + app:singleSelection="true"> + + + -