Fixed wrong background in mediaplayer and itemdescription

This commit is contained in:
daniel oeh 2012-11-20 20:15:01 +01:00
parent c1d24edb5f
commit 56b93247fe
4 changed files with 9 additions and 7 deletions

View File

@ -2,7 +2,7 @@
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/white" >
android:background="?attr/non_transparent_background" >
<LinearLayout
android:layout_width="fill_parent"

View File

@ -2,7 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:background="?attr/non_transparent_background"
android:orientation="vertical" >
<com.viewpagerindicator.TabPageIndicator

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="action_about" format="reference" />
<attr name="action_search" format="reference" />
<attr name="action_settings" format="reference" />
@ -23,5 +22,6 @@
<attr name="stat_playlist" format="reference" />
<attr name="type_audio" format="reference" />
<attr name="type_video" format="reference" />
<!-- Used in itemdescription -->
<attr name="non_transparent_background" format="reference" />
</resources>

View File

@ -25,12 +25,13 @@
<item name="attr/stat_playlist">@drawable/stat_playlist</item>
<item name="attr/type_audio">@drawable/type_audio</item>
<item name="attr/type_video">@drawable/type_video</item>
<item name="attr/non_transparent_background">@color/white</item>
</style>
<style name="AntennaPod.LightTabPageIndicator" parent="Widget.TabPageIndicator">
<item name="android:textColor">@color/black</item>
</style>
<style name="Theme.AntennaPod.Dark" parent="@style/Theme.Sherlock.ForceOverflow">
<item name="vpiTabPageIndicatorStyle">@style/AntennaPod.DarkTabPageIndicator</item>
<item name="attr/action_about">@drawable/action_about_dark</item>
@ -55,8 +56,9 @@
<item name="attr/stat_playlist">@drawable/stat_playlist_dark</item>
<item name="attr/type_audio">@drawable/type_audio_dark</item>
<item name="attr/type_video">@drawable/type_video_dark</item>
<item name="attr/non_transparent_background">@color/black</item>
</style>
<style name="AntennaPod.DarkTabPageIndicator" parent="Widget.TabPageIndicator">
<item name="android:textColor">#FFFFFF</item>
</style>