From ffcbabc2f4ef9766271be5335cec1869fe634646 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 28 May 2020 16:54:33 +0530 Subject: Configure IME options and focus direction (#805) --- app/src/main/res/layout/activity_git_clone.xml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml index cab9dc7b..6fe19f19 100644 --- a/app/src/main/res/layout/activity_git_clone.xml +++ b/app/src/main/res/layout/activity_git_clone.xml @@ -10,6 +10,7 @@ android:layout_height="match_parent" android:background="?android:attr/windowBackground" android:padding="@dimen/activity_horizontal_margin" + tools:background="@color/white" tools:context="com.zeapo.pwdstore.git.GitOperationActivity"> + android:imeOptions="actionNext" + android:inputType="textWebEmailAddress" + android:nextFocusForward="@id/server_url"> + + + + android:imeOptions="actionNext" + android:inputType="textWebEmailAddress" + android:nextFocusForward="@id/server_port" /> @@ -112,7 +120,9 @@ android:id="@+id/server_port" android:layout_width="match_parent" android:layout_height="wrap_content" - android:inputType="number" /> + android:imeOptions="actionNext" + android:inputType="number" + android:nextFocusForward="@id/server_path" /> @@ -129,6 +139,7 @@ android:id="@+id/server_path" android:layout_width="match_parent" android:layout_height="wrap_content" + android:imeOptions="actionDone" android:inputType="textWebEmailAddress" /> -- cgit v1.2.3