mirror of
https://github.com/MatomoCamp/matomocamp-companion-android.git
synced 2024-09-19 16:13:46 +02:00
Use FOSDEM colors for dialogs and AlertDialogs under Material theme.
This commit is contained in:
parent
454c5f62e1
commit
490bda0913
1 changed files with 15 additions and 2 deletions
|
@ -3,9 +3,22 @@
|
||||||
|
|
||||||
<!-- Main theme -->
|
<!-- Main theme -->
|
||||||
|
|
||||||
<style name="AppTheme" parent="Base.AppTheme"/>
|
<style name="AppTheme" parent="Base.AppTheme">
|
||||||
|
<item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="DialogTheme" parent="android:Theme.Material.Light.Dialog"/>
|
<style name="DialogTheme" parent="android:Theme.Material.Light.Dialog">
|
||||||
|
<item name="android:colorPrimary">@color/fosdem_purple</item>
|
||||||
|
<item name="android:colorPrimaryDark">@color/fosdem_purple_dark</item>
|
||||||
|
<item name="android:colorAccent">@color/fosdem_blue</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="AlertDialogTheme" parent="android:Theme.Material.Light.Dialog.Alert">
|
||||||
|
<item name="android:colorPrimary">@color/fosdem_purple</item>
|
||||||
|
<item name="android:colorPrimaryDark">@color/fosdem_purple_dark</item>
|
||||||
|
<item name="android:colorAccent">@color/fosdem_blue</item>
|
||||||
|
<item name="android:textColorLink">?android:attr/colorAccent</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue