Fix details backgorund for both of themes

This commit is contained in:
Neslihan 2017-03-18 11:50:53 +03:00
parent 8f5d2e7aa5
commit 85d0ce2c30
3 changed files with 4 additions and 1 deletions

View file

@ -3,7 +3,7 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/background_light"
android:background="?attr/detailsBackground"
>
<ProgressBar

View file

@ -8,6 +8,7 @@
<attr name="buttonBackground" format="reference"/>
<attr name="uploadOverlayBackground" format="reference"/>
<attr name="spinnerTheme" format="reference"/>
<attr name="detailsBackground" format="reference"/>
<attr name="iconSend" format="reference"/>
<attr name="iconSave" format="reference"/>
<attr name="iconCamera" format="reference"/>

View file

@ -14,6 +14,7 @@
<item name="iconPhoto">@drawable/ic_photo_white_24dp</item>
<item name="iconUndo">@drawable/ic_undo_white_24dp</item>
<item name="spinnerTheme">@style/DarkSpinnerTheme</item>
<item name="detailsBackground">@android:color/background_dark</item>
</style>
<style name="LightAppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
@ -33,6 +34,7 @@
<item name="colorPrimary">@color/action_bar_blue</item>
<item name="colorPrimaryDark">@color/status_bar_blue</item>
<item name="spinnerTheme">@style/LightSpinnerTheme</item>
<item name="detailsBackground">@android:color/background_light</item>
</style>
<style name="DarkSpinnerTheme" parent="DarkAppTheme">