From 1514bca3dda8db3f178bc7eab895446ec0a93091 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 5 Feb 2020 10:46:05 +0100 Subject: [PATCH] Request focus for name --- app/src/main/java/eu/faircode/email/FragmentGmail.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentGmail.java b/app/src/main/java/eu/faircode/email/FragmentGmail.java index 8e553deeac..dd7c4a409e 100644 --- a/app/src/main/java/eu/faircode/email/FragmentGmail.java +++ b/app/src/main/java/eu/faircode/email/FragmentGmail.java @@ -217,6 +217,13 @@ public class FragmentGmail extends FragmentBase { etName.setEnabled(granted); btnSelect.setEnabled(granted); + + new Handler().post(new Runnable() { + @Override + public void run() { + etName.requestFocus(); + } + }); } private void onAccountSelected(Intent data) {