From f161926a7579c9b469c397608cf9be3738375098 Mon Sep 17 00:00:00 2001 From: Zukero Date: Wed, 8 Nov 2017 00:16:55 +0100 Subject: [PATCH] Spinner emulation for inventory filters. Allows greater control over dropdown menu L&F. --- AndorsTrail/res/layout/heroinfo_inventory.xml | 22 +++-- AndorsTrail/res/values-v14/ui_styles.xml | 1 + AndorsTrail/res/values/ui_styles.xml | 14 ++- .../fragment/HeroinfoActivity_Inventory.java | 98 ++++++++++++------- 4 files changed, 87 insertions(+), 48 deletions(-) diff --git a/AndorsTrail/res/layout/heroinfo_inventory.xml b/AndorsTrail/res/layout/heroinfo_inventory.xml index 2e0ee1755..468f1f410 100644 --- a/AndorsTrail/res/layout/heroinfo_inventory.xml +++ b/AndorsTrail/res/layout/heroinfo_inventory.xml @@ -47,20 +47,22 @@ android:gravity="right" android:orientation="horizontal" > - + android:text="" /> - + android:text="" /> diff --git a/AndorsTrail/res/values-v14/ui_styles.xml b/AndorsTrail/res/values-v14/ui_styles.xml index 81da1ae08..95d93d24a 100644 --- a/AndorsTrail/res/values-v14/ui_styles.xml +++ b/AndorsTrail/res/values-v14/ui_styles.xml @@ -53,6 +53,7 @@ @color/ui_blue_textbutton_textcolor @style/AndorsTrail_Blue_TextAppearance.ListItemTitle @style/AndorsTrail_Blue_TextAppearance.ListItemSubtitle + @drawable/ui_blue_radiobutton diff --git a/AndorsTrail/res/values/ui_styles.xml b/AndorsTrail/res/values/ui_styles.xml index 45b4f570b..a3171c65d 100644 --- a/AndorsTrail/res/values/ui_styles.xml +++ b/AndorsTrail/res/values/ui_styles.xml @@ -94,6 +94,11 @@ start + +