Commit 0ed325b4 authored by Adrien Maglo's avatar Adrien Maglo

Styles: improve black theme

parent f1d6ae33
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<gradient
android:angle="0"
android:endColor="#00FFFFFF"
android:startColor="@color/black1" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<gradient
android:angle="0"
android:endColor="@color/black1"
android:startColor="#00FFFFFF" />
</shape>
\ No newline at end of file
......@@ -20,7 +20,7 @@
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="?attr/background_menu" />
android:background="?attr/background_header" />
<FrameLayout
android:id="@android:id/tabcontent"
......
......@@ -14,7 +14,7 @@
android:id="@android:id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/background_menu">
android:background="?attr/background_header">
</TabWidget>
<FrameLayout
......
......@@ -13,7 +13,7 @@
android:fadingEdge="none"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="?attr/background_menu">
android:background="?attr/background_header">
<LinearLayout
android:id="@+id/header_layout"
android:layout_width="wrap_content"
......@@ -65,14 +65,14 @@
android:layout_alignBottom="@+id/header"
android:layout_alignLeft="@+id/header"
android:layout_alignTop="@+id/header"
android:background="@drawable/header_fadein_overlay" />
android:background="?attr/header_fadein_overlay" />
<View
android:layout_width="20dip"
android:layout_height="10dip"
android:layout_alignBottom="@+id/header"
android:layout_alignRight="@+id/header"
android:layout_alignTop="@+id/header"
android:background="@drawable/header_fadeout_overlay" />
android:background="?attr/header_fadeout_overlay" />
</RelativeLayout>
<TextView
......
......@@ -8,6 +8,7 @@
<attr name="playlist_item_footer" format="reference|color" />
<attr name="background_menu_divider" format="reference|color" />
<attr name="background_menu" format="reference|color" />
<attr name="background_header" format="reference|color" />
<attr name="background_player" format="reference|color" />
<attr name="background_playlist" format="reference|color" />
<attr name="font_default" format="reference|color" />
......@@ -30,6 +31,8 @@
<attr name="mini_player_top_shadow" format="reference" />
<attr name="audio_playlist_shadow" format="reference" />
<attr name="header_fadein_overlay" format="reference" />
<attr name="header_fadeout_overlay" format="reference" />
<declare-styleable name="SlidingPaneLayout">
<attr name="overhangSize" format="dimension" />
......
......@@ -22,4 +22,9 @@
<color name="action_bar_title">#FFFFFF</color>
<color name="darkgrey">#ffa0a0a0</color>
<color name="black1">#0f0f0f</color>
<color name="black2">#222222</color>
<color name="grey1">#393939</color>
</resources>
\ No newline at end of file
......@@ -27,6 +27,7 @@
<item name="background_menu">@color/background_menu</item>
<item name="background_player">@color/background_player</item>
<item name="background_playlist">@color/background_playlist</item>
<item name="background_header">@color/background_menu</item>
<item name="audio_browser_separator">@color/darkorange</item>
<item name="playlist_item_drag_shadow">@color/darkorange</item>
<item name="audio_player_header_time">@color/darkorange</item>
......@@ -40,19 +41,26 @@
<item name="mini_player_top_shadow">@drawable/mini_player_top_shadow</item>
<item name="audio_playlist_shadow">@drawable/audio_playlist_shadow</item>
<item name="header_fadein_overlay">@drawable/header_fadein_overlay</item>
<item name="header_fadeout_overlay">@drawable/header_fadeout_overlay</item>
</style>
<style name="Theme.VLC.Black" parent="Theme.VLC">
<item name="android:textColor">@color/white</item>
<item name="font_default">@color/white</item>
<item name="background_player">@color/font_default</item>
<item name="background_playlist">@color/font_default</item>
<item name="item_footer">@color/grey1</item>
<item name="playlist_item_footer">@color/grey1</item>
<item name="background_player">@color/black1</item>
<item name="background_playlist">@color/black2</item>
<item name="background_header">@color/black1</item>
<item name="list_title">@color/bt_list_title</item>
<item name="android:windowBackground">@color/font_default</item>
<item name="mini_player_top_shadow">@null</item>
<item name="audio_playlist_shadow">@null</item>
<item name="header_fadein_overlay">@drawable/bt_header_fadein_overlay</item>
<item name="header_fadeout_overlay">@drawable/bt_header_fadeout_overlay</item>
</style>
<style name="Theme.VLC.List">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment