From f1d5c00f3b641f27b311bfa1feb388e96de6239b Mon Sep 17 00:00:00 2001 From: bhlee Date: Sat, 13 Jul 2019 20:14:16 +0900 Subject: [PATCH 1/4] Resolves #3235. Refer to the changes. - Remove android:screenOrientation="portrait" for rotating. - Remove override onConfigurationChanged function that does nothing. --- app/src/main/AndroidManifest.xml | 3 +-- .../activity/gpoddernet/GpodnetAuthenticationActivity.java | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index ee1cf8936..e349e5fd0 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -337,8 +337,7 @@ + android:label="@string/gpodnet_auth_label"> diff --git a/app/src/main/java/de/danoeh/antennapod/activity/gpoddernet/GpodnetAuthenticationActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/gpoddernet/GpodnetAuthenticationActivity.java index df21f713d..2d7898d5b 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/gpoddernet/GpodnetAuthenticationActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/gpoddernet/GpodnetAuthenticationActivity.java @@ -104,10 +104,6 @@ public class GpodnetAuthenticationActivity extends AppCompatActivity { return super.onOptionsItemSelected(item); } - @Override - public void onConfigurationChanged(Configuration newConfig) { - } - private void setupLoginView(View view) { final EditText username = view.findViewById(R.id.etxtUsername); final EditText password = view.findViewById(R.id.etxtPassword); From 339569421a1f9aca1fc603d10754ac299560aac8 Mon Sep 17 00:00:00 2001 From: bhlee Date: Sun, 14 Jul 2019 01:48:50 +0900 Subject: [PATCH 2/4] add android:imeOptions="flagNoFullscreen" attribute in EditText --- app/src/main/res/layout/gpodnetauth_credentials.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/gpodnetauth_credentials.xml b/app/src/main/res/layout/gpodnetauth_credentials.xml index f995ae4cc..e8948fc52 100644 --- a/app/src/main/res/layout/gpodnetauth_credentials.xml +++ b/app/src/main/res/layout/gpodnetauth_credentials.xml @@ -36,7 +36,7 @@ android:cursorVisible="true" android:maxLines="1" android:inputType="text" - android:imeOptions="actionNext" + android:imeOptions="actionNext|flagNoFullscreen" android:nextFocusForward="@id/etxtPassword"/>