diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-11-24 23:34:31 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-11-24 23:34:31 +0100 |
commit | faca4457ee6e12dd4ecf3f5223182d2b8b6d3758 (patch) | |
tree | 2e8558e0af4b374322d4b49ee22412a284c6b2b0 /res | |
parent | deb888fac191cfd6a058de44b1237612e6624171 (diff) | |
download | AntennaPod-faca4457ee6e12dd4ecf3f5223182d2b8b6d3758.zip |
Added dark theme for videoplayer
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-land/mediaplayer_activity.xml | 8 | ||||
-rw-r--r-- | res/values/attrs.xml | 1 | ||||
-rw-r--r-- | res/values/colors.xml | 3 | ||||
-rw-r--r-- | res/values/styles.xml | 2 |
4 files changed, 9 insertions, 5 deletions
diff --git a/res/layout-land/mediaplayer_activity.xml b/res/layout-land/mediaplayer_activity.xml index f505ec4c4..6f505c874 100644 --- a/res/layout-land/mediaplayer_activity.xml +++ b/res/layout-land/mediaplayer_activity.xml @@ -23,7 +23,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom|center" - android:background="@color/actionbar_gray" + android:background="?attr/video_overlay_background" android:orientation="vertical" > <RelativeLayout @@ -39,7 +39,7 @@ android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:background="?attr/borderless_button" - android:src="@drawable/av_pause" /> + android:src="?attr/av_pause" /> <ImageButton android:id="@+id/butFF" @@ -49,7 +49,7 @@ android:layout_marginLeft="8dp" android:layout_toRightOf="@+id/butPlay" android:background="?attr/borderless_button" - android:src="@drawable/av_fast_forward" /> + android:src="?attr/av_fast_forward" /> <ImageButton android:id="@+id/butRev" @@ -59,7 +59,7 @@ android:layout_marginRight="8dp" android:layout_toLeftOf="@+id/butPlay" android:background="?attr/borderless_button" - android:src="@drawable/av_rewind" /> + android:src="?attr/av_rewind" /> </RelativeLayout> <RelativeLayout diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 505dc54a3..4c77a9ff0 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -26,5 +26,6 @@ <attr name="borderless_button" format="reference" /> <!-- Used in itemdescription --> <attr name="non_transparent_background" format="reference" /> + <attr name="video_overlay_background" format="color" /> </resources>
\ No newline at end of file diff --git a/res/values/colors.xml b/res/values/colors.xml index a8c0065bb..6adc4dbc8 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -25,7 +25,8 @@ <color name="status_unread">#99CC00</color> <color name="status_progress">#FFBB33</color> <color name="status_playing">#EE5F52</color> - + <color name="video_overlay_dark">#262C31</color> + <color name="video_overlay_light">#DDDDDD</color> <!-- Use Gingerbread-orange --> <color name="selection_background_color_dark">#FEBB20</color> <color name="selection_background_color_light">#FEBB20</color> diff --git a/res/values/styles.xml b/res/values/styles.xml index 964ee2824..8fdeed718 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -27,6 +27,7 @@ <item name="attr/type_video">@drawable/type_video</item> <item name="attr/non_transparent_background">@color/white</item> <item name="attr/borderless_button">@drawable/borderless_button</item> + <item name="attr/video_overlay_background">@color/video_overlay_light</item> </style> @@ -60,6 +61,7 @@ <item name="attr/type_video">@drawable/type_video_dark</item> <item name="attr/non_transparent_background">@color/black</item> <item name="attr/borderless_button">@drawable/borderless_button_dark</item> + <item name="attr/video_overlay_background">@color/video_overlay_dark</item> </style> <style name="AntennaPod.DarkTabPageIndicator" parent="Widget.TabPageIndicator"> |