From 37dc1620d86aa2ee5b9114273ad1be40c8d3c736 Mon Sep 17 00:00:00 2001 From: domjos1994 Date: Sun, 1 Sep 2019 12:29:48 +0200 Subject: [PATCH] solve bug 0000273 --- .../domjos/unitrackermobile/activities/AccountActivity.java | 2 +- app/src/main/res/layout/account_activity.xml | 3 ++- app/src/main/res/layout/search_activity.xml | 6 ++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/de/domjos/unitrackermobile/activities/AccountActivity.java b/app/src/main/java/de/domjos/unitrackermobile/activities/AccountActivity.java index dd92df18..1c6cd9d9 100644 --- a/app/src/main/java/de/domjos/unitrackermobile/activities/AccountActivity.java +++ b/app/src/main/java/de/domjos/unitrackermobile/activities/AccountActivity.java @@ -310,7 +310,7 @@ protected void initControls() { this.chkAccountGuest = this.findViewById(R.id.chkAccountGuest); this.txtAccountTitle = this.findViewById(R.id.txtAccountTitle); List ls = Arrays.asList(Authentication.Tracker.values()); - this.txtAccountTitle.setAdapter(new ArrayAdapter<>(this.getApplicationContext(), android.R.layout.simple_list_item_1, ls)); + this.txtAccountTitle.setAdapter(new ArrayAdapter<>(this.getApplicationContext(), android.R.layout.simple_dropdown_item_1line, ls)); this.txtAccountServer = this.findViewById(R.id.txtAccountServer); this.txtAccountUserName = this.findViewById(R.id.txtAccountUserName); this.txtAccountPassword = this.findViewById(R.id.txtAccountPassword); diff --git a/app/src/main/res/layout/account_activity.xml b/app/src/main/res/layout/account_activity.xml index d7db560c..49c66456 100644 --- a/app/src/main/res/layout/account_activity.xml +++ b/app/src/main/res/layout/account_activity.xml @@ -60,7 +60,8 @@ android:hint="@string/general_title" android:layout_weight="10" android:layout_width="0dp" - tools:ignore="Autofill" /> + tools:ignore="Autofill" + android:popupBackground="@color/colorAccent" /> diff --git a/app/src/main/res/layout/search_activity.xml b/app/src/main/res/layout/search_activity.xml index 81e2d3a9..c75ea1bc 100644 --- a/app/src/main/res/layout/search_activity.xml +++ b/app/src/main/res/layout/search_activity.xml @@ -78,7 +78,8 @@ android:hint="@string/projects" android:layout_width="0dp" android:layout_weight="10" - android:inputType="textMultiLine" /> + android:inputType="textMultiLine" + android:popupBackground="@color/colorAccent" /> @@ -88,7 +89,8 @@ android:hint="@string/versions" android:layout_width="0dp" android:layout_weight="10" - android:inputType="textMultiLine" /> + android:inputType="textMultiLine" + android:popupBackground="@color/colorAccent" />