summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin O'Neil <austin.m.oneil@gmail.com>2017-01-25 05:27:04 -0700
committerTobrun <tobrun.van.nuland@gmail.com>2017-01-25 13:27:04 +0100
commitaf0ff55f166506137d3b5de861594519beb1729a (patch)
tree0f318a86a6fe1659b6202164e20c18a4af36fe71
parent1715bf9508ec1defe2e2dd1809f1e5226e24337f (diff)
downloadqtlocation-mapboxgl-af0ff55f166506137d3b5de861594519beb1729a.tar.gz
[Android] Make spinner under Add Markers in Bulk readable (#7836)
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/styles.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/styles.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/styles.xml
index 4b431bfe48..777d8a5f56 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/styles.xml
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/styles.xml
@@ -6,6 +6,8 @@
<item name="colorPrimaryDark">@color/primaryDark</item>
<item name="colorAccent">@color/accent</item>
<item name="android:windowBackground">@color/white</item>
+ <item name="android:spinnerItemStyle">@style/MySpinnerStyle</item>
+ <item name="android:spinnerDropDownItemStyle">@style/SpinnerItem.DropDownItem</item>
</style>
<style name="NoActionBar" parent="Theme.AppCompat.NoActionBar">
@@ -25,6 +27,15 @@
<item name="windowActionBarOverlay">false</item>
</style>
+ <style name="MySpinnerStyle">
+ <item name="android:popupBackground">@android:color/background_light</item>
+ <item name="android:textColor">@android:color/background_light</item>
+ </style>
+
+ <style name="SpinnerItem.DropDownItem" parent="@android:style/Widget.DropDownItem.Spinner">
+ <item name="android:textColor">@android:color/background_light</item>
+ </style>
+
<style name="AppTheme" parent="AppBaseTheme" />
</resources>