From 9e2b08b7bea87ce24c249afdda3978750a958dea Mon Sep 17 00:00:00 2001 From: SimonIT Date: Tue, 5 Feb 2019 11:08:05 +0100 Subject: [PATCH] making requested changes --- .../untis/activity/ActivityLoginDataInput.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/de/perflyst/untis/activity/ActivityLoginDataInput.java b/app/src/main/java/de/perflyst/untis/activity/ActivityLoginDataInput.java index b9c9c16..247902f 100644 --- a/app/src/main/java/de/perflyst/untis/activity/ActivityLoginDataInput.java +++ b/app/src/main/java/de/perflyst/untis/activity/ActivityLoginDataInput.java @@ -9,7 +9,14 @@ import android.util.Log; import android.util.Patterns; import android.view.View; -import android.widget.*; +import android.widget.ArrayAdapter; +import android.widget.AutoCompleteTextView; +import android.widget.Button; +import android.widget.EditText; +import android.widget.ImageView; +import android.widget.ProgressBar; +import android.widget.RelativeLayout; +import android.widget.TextView; import de.perflyst.untis.R; import de.perflyst.untis.utils.Constants; import de.perflyst.untis.utils.ListManager; @@ -141,8 +148,9 @@ private void restoreInput(SharedPreferences prefs) { mEtUser.setText(prefs.getString("etUser", "")); mEtKey.setText(prefs.getString("etKey", "")); - if (!mEtUrl.getText().toString().isEmpty()) + if (!mEtUrl.getText().toString().isEmpty()) { mBtnLogin.requestFocus(); + } } private void loadData() {