mirror of
https://github.com/jrpie/Launcher.git
synced 2025-04-19 02:10:54 +02:00
Fix button appearance for older devices
+ Buttons on API < 29 now all have the same color for the customTheme + This can be worked on again, if someone figures out how to dynamically change button colors on older android APIs
This commit is contained in:
parent
6862be3521
commit
d4ea809569
4 changed files with 18 additions and 8 deletions
|
@ -31,6 +31,16 @@
|
|||
<item name="android:windowAnimationStyle">@style/WindowFadeTransition</item>
|
||||
</style>
|
||||
|
||||
<!-- Custom theme -->
|
||||
<style name="customTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="android:textColor">#ffffff</item>
|
||||
<item name="android:buttonStyle">@style/Widget.AppCompat.Button.Colored</item>
|
||||
<item name="colorButtonNormal">#252827</item>
|
||||
|
||||
<item name="android:windowDisablePreview">true</item>
|
||||
<item name="android:windowAnimationStyle">@style/WindowFadeTransition</item>
|
||||
</style>
|
||||
|
||||
<style name="AlertDialogCustom" parent="Theme.AppCompat.Light.Dialog.Alert">
|
||||
<item name="android:textColor">#000000</item>
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue