Use ?attr/mainBackground instead

This commit is contained in:
Neslihan 2017-03-18 12:28:55 +03:00
parent e094101e58
commit 86c24817b1
3 changed files with 1 additions and 4 deletions

View file

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

View file

@ -8,7 +8,6 @@
<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="detailsBackground" format="reference"/>
<attr name="iconSend" format="reference"/> <attr name="iconSend" format="reference"/>
<attr name="iconSave" format="reference"/> <attr name="iconSave" format="reference"/>
<attr name="iconCamera" format="reference"/> <attr name="iconCamera" format="reference"/>

View file

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