mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Compatability with both themes
This commit is contained in:
parent
f5bb50a704
commit
b4e577fedf
2 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
||||||
<attr name="buttonBackground" format="reference"/>
|
<attr name="buttonBackground" format="reference"/>
|
||||||
<attr name="uploadOverlayBackground" format="reference"/>
|
<attr name="uploadOverlayBackground" format="reference"/>
|
||||||
<attr name="spinnerTheme" format="reference"/>
|
<attr name="spinnerTheme" format="reference"/>
|
||||||
|
<attr name="iconsTheme" format="reference"/>
|
||||||
|
|
||||||
<declare-styleable name="CompatTextView">
|
<declare-styleable name="CompatTextView">
|
||||||
<attr name="drawablePadding" format="dimension"/>
|
<attr name="drawablePadding" format="dimension"/>
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
<item name="buttonBackground">@color/button_background_dark</item>
|
<item name="buttonBackground">@color/button_background_dark</item>
|
||||||
<item name="uploadOverlayBackground">@color/upload_overlay_background_dark</item>
|
<item name="uploadOverlayBackground">@color/upload_overlay_background_dark</item>
|
||||||
<item name="spinnerTheme">@style/DarkSpinnerTheme</item>
|
<item name="spinnerTheme">@style/DarkSpinnerTheme</item>
|
||||||
|
<item name="iconsTheme">@color/main_background_light</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="LightAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
<style name="LightAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||||
|
|
@ -27,6 +28,7 @@
|
||||||
<item name="buttonBackground">@color/button_background_light</item>
|
<item name="buttonBackground">@color/button_background_light</item>
|
||||||
<item name="uploadOverlayBackground">@color/upload_overlay_background_light</item>
|
<item name="uploadOverlayBackground">@color/upload_overlay_background_light</item>
|
||||||
<item name="spinnerTheme">@style/LightSpinnerTheme</item>
|
<item name="spinnerTheme">@style/LightSpinnerTheme</item>
|
||||||
|
<item name="iconsTheme">@color/main_background_dark</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="DarkSpinnerTheme" parent="DarkAppTheme">
|
<style name="DarkSpinnerTheme" parent="DarkAppTheme">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue