Fix alert dialogs style
This commit is contained in:
parent
d5909154ba
commit
d2db45d014
1 changed files with 20 additions and 0 deletions
|
@ -259,6 +259,12 @@
|
||||||
<item name="profile_save_btn">@drawable/btn_round_profile_blue</item>
|
<item name="profile_save_btn">@drawable/btn_round_profile_blue</item>
|
||||||
<item name="profile_cancel_btn">@drawable/btn_round_profile_gray</item>
|
<item name="profile_cancel_btn">@drawable/btn_round_profile_gray</item>
|
||||||
<item name="android:textColor">@color/text_color_primary_light</item>
|
<item name="android:textColor">@color/text_color_primary_light</item>
|
||||||
|
|
||||||
|
<item name="buttonBarNegativeButtonStyle">@style/DialogButtonStyleLight</item>
|
||||||
|
<item name="buttonBarPositiveButtonStyle">@style/DialogButtonStyleLight</item>
|
||||||
|
<item name="buttonBarNeutralButtonStyle">@style/DialogButtonStyleLight</item>
|
||||||
|
<item name="colorBackgroundFloating">@color/list_background_color_light</item>
|
||||||
|
<item name="android:colorBackgroundFloating">@color/list_background_color_light</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="OverflowMenuButton" parent="@style/Widget.AppCompat.ActionButton.Overflow">
|
<style name="OverflowMenuButton" parent="@style/Widget.AppCompat.ActionButton.Overflow">
|
||||||
|
@ -506,6 +512,12 @@
|
||||||
<item name="profile_save_btn">@drawable/btn_round_profile_night</item>
|
<item name="profile_save_btn">@drawable/btn_round_profile_night</item>
|
||||||
<item name="profile_cancel_btn">@drawable/btn_round_profile_gray_n</item>
|
<item name="profile_cancel_btn">@drawable/btn_round_profile_gray_n</item>
|
||||||
<item name="android:textColor">@color/text_color_primary_dark</item>
|
<item name="android:textColor">@color/text_color_primary_dark</item>
|
||||||
|
|
||||||
|
<item name="buttonBarNegativeButtonStyle">@style/DialogButtonStyleDark</item>
|
||||||
|
<item name="buttonBarPositiveButtonStyle">@style/DialogButtonStyleDark</item>
|
||||||
|
<item name="buttonBarNeutralButtonStyle">@style/DialogButtonStyleDark</item>
|
||||||
|
<item name="colorBackgroundFloating">@color/list_background_color_dark</item>
|
||||||
|
<item name="android:colorBackgroundFloating">@color/list_background_color_dark</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="FreeVersionBanner" parent="OsmandDarkTheme">
|
<style name="FreeVersionBanner" parent="OsmandDarkTheme">
|
||||||
|
@ -520,6 +532,14 @@
|
||||||
<item name="android:windowAnimationStyle">@null</item>
|
<item name="android:windowAnimationStyle">@null</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="DialogButtonStyleLight" parent="Widget.AppCompat.Button.ButtonBar.AlertDialog">
|
||||||
|
<item name="android:textColor">@color/active_color_primary_light</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="DialogButtonStyleDark" parent="Widget.AppCompat.Button.ButtonBar.AlertDialog">
|
||||||
|
<item name="android:textColor">@color/active_color_primary_dark</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<!-- Standard action bar override -->
|
<!-- Standard action bar override -->
|
||||||
<style name="Widget.Styled.ActionBarDark" parent="Widget.AppCompat.Light.ActionBar.Solid.Inverse">
|
<style name="Widget.Styled.ActionBarDark" parent="Widget.AppCompat.Light.ActionBar.Solid.Inverse">
|
||||||
<item name="background">@color/app_bar_color_dark</item>
|
<item name="background">@color/app_bar_color_dark</item>
|
||||||
|
|
Loading…
Reference in a new issue