Skip to content

Commit

Permalink
Fix a ui issue where autocomplete text view value is not matching the…
Browse files Browse the repository at this point in the history
… dark theme colour making text invisible.

popupbackgroundcolor in the autocompletetextview and in styles for other usages.
  • Loading branch information
hispeedimagins committed Jul 1, 2018
1 parent 4031ea6 commit c97d9cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/src/main/res/layout/dialog_trending_select.xml
Expand Up @@ -40,6 +40,7 @@
android:inputType="textAutoComplete|text"
android:maxLines="1"
android:singleLine="true"
android:popupBackground="?attr/cardBackgroundColor"
/>


Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values/styles.xml
Expand Up @@ -47,11 +47,12 @@


<style name="Plaid.AlertDialog.AppCompat" parent="Theme.AppCompat.Light.Dialog.Alert">
<item name="android:popupBackground">@color/background_light</item>
<item name="android:background">@color/background_light</item>
</style>

<style name="Plaid.AlertDialog.AppCompat.Dark" parent="Theme.AppCompat.Light.Dialog.Alert">

<item name="android:popupBackground">@color/background_dark</item>
<item name="android:background">@color/background_dark</item>
</style>

Expand Down

0 comments on commit c97d9cd

Please sign in to comment.