spinner dropdown styling

This commit is contained in:
Akinwale Ariwodola 2020-01-09 20:20:22 +01:00
parent 168dbba62c
commit 5e993f0fcc

View file

@ -2,5 +2,20 @@
<style name="LbryAppTheme" parent="@style/Theme.AppCompat.Light.NoActionBar"> <style name="LbryAppTheme" parent="@style/Theme.AppCompat.Light.NoActionBar">
<item name="android:windowBackground">@color/lbryGreen</item> <item name="android:windowBackground">@color/lbryGreen</item>
<item name="colorControlActivated">@color/nextLbryGreen</item> <item name="colorControlActivated">@color/nextLbryGreen</item>
<item name="android:spinnerItemStyle">@style/LbrySpinnerItem</item>
<item name="android:spinnerDropDownItemStyle">@style/LbrySpinnerDropDownItem</item>
</style>
<style name="LbrySpinnerItem" parent="@style/Theme.AppCompat.Light.NoActionBar">
<item name="android:fontFamily">Inter-Regular</item>
<item name="android:textSize">14sp</item>
</style>
<style name="LbrySpinnerDropDownItem" parent="@style/Theme.AppCompat.Light.NoActionBar">
<item name="android:fontFamily">Inter-Regular</item>
<item name="android:paddingLeft">16dp</item>
<item name="android:paddingRight">16dp</item>
<item name="android:gravity">center_vertical</item>
<item name="android:textSize">14sp</item>
</style> </style>
</resources> </resources>