fix white theme crash
This commit is contained in:
parent
a857309add
commit
2b47c80463
|
@ -246,6 +246,14 @@
|
|||
<!---Icons in Loop area -->
|
||||
<item name="profileColor">@color/white</item>
|
||||
<item name="crossTargetColor">@color/white</item>
|
||||
<!---Spinner style from pump common-->
|
||||
<item name="android:spinnerItemStyle">@style/CommonSpinnerItemStyle</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="CommonSpinnerItemStyle" parent="Widget.AppCompat.TextView.SpinnerItem">
|
||||
<item name="android:textColor">@android:color/white</item>
|
||||
<item name="android:textSize">15sp</item>
|
||||
</style>
|
||||
|
||||
<style name="Aaps_ActionBarStyle" parent="@style/Widget.AppCompat.ActionBar">
|
||||
|
|
|
@ -247,8 +247,16 @@
|
|||
<!---Icons in Loop area -->
|
||||
<item name="profileColor">@color/black</item>
|
||||
<item name="crossTargetColor">@color/white</item>
|
||||
<!---Spinner style from pump common-->
|
||||
<item name="android:spinnerItemStyle">@style/CommonSpinnerItemStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="CommonSpinnerItemStyle" parent="Widget.AppCompat.TextView.SpinnerItem">
|
||||
<item name="android:textColor">@android:color/black</item>
|
||||
<item name="android:textSize">15sp</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="Aaps_ActionBarStyle" parent="@style/Widget.AppCompat.ActionBar">
|
||||
<item name="android:titleTextStyle">@style/Theme.Aaps.ActionBar.TitleTextStyle</item>
|
||||
</style>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
android:textAppearance="?android:attr/textAppearanceSmall" />
|
||||
|
||||
<Spinner
|
||||
android:theme="@style/YourSpinnerItemStyle"
|
||||
android:theme="@style/CommonSpinnerItemStyle"
|
||||
android:id="@+id/pump_history_type"
|
||||
android:layout_width="100dp"
|
||||
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<item name="android:spinnerItemStyle">@style/YourSpinnerItemStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="YourSpinnerItemStyle" parent="Widget.AppCompat.TextView.SpinnerItem">
|
||||
<item name="android:textColor">@android:color/white</item>
|
||||
<item name="android:textSize">15sp</item>
|
||||
</style>
|
||||
|
||||
<style name="mySpinnerItemStyle" parent="ThemeOverlay.AppCompat.Dark">
|
||||
<item name="android:textSize">15sp</item>
|
||||
<item name="android:textColor">@color/white</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
Loading…
Reference in a new issue