Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Casanowow Life for love
VLC-Android
Commits
0ed325b4
Commit
0ed325b4
authored
Mar 03, 2014
by
Adrien Maglo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Styles: improve black theme
parent
f1d6ae33
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
43 additions
and
7 deletions
+43
-7
vlc-android/res/drawable/bt_header_fadein_overlay.xml
vlc-android/res/drawable/bt_header_fadein_overlay.xml
+10
-0
vlc-android/res/drawable/bt_header_fadeout_overlay.xml
vlc-android/res/drawable/bt_header_fadeout_overlay.xml
+10
-0
vlc-android/res/layout/about.xml
vlc-android/res/layout/about.xml
+1
-1
vlc-android/res/layout/audio_albums_songs.xml
vlc-android/res/layout/audio_albums_songs.xml
+1
-1
vlc-android/res/layout/audio_browser.xml
vlc-android/res/layout/audio_browser.xml
+3
-3
vlc-android/res/values/attrs.xml
vlc-android/res/values/attrs.xml
+3
-0
vlc-android/res/values/colors.xml
vlc-android/res/values/colors.xml
+5
-0
vlc-android/res/values/styles.xml
vlc-android/res/values/styles.xml
+10
-2
No files found.
vlc-android/res/drawable/bt_header_fadein_overlay.xml
0 → 100644
View file @
0ed325b4
<?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
vlc-android/res/drawable/bt_header_fadeout_overlay.xml
0 → 100644
View file @
0ed325b4
<?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
vlc-android/res/layout/about.xml
View file @
0ed325b4
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
android:id=
"@android:id/tabs"
android:id=
"@android:id/tabs"
android:layout_width=
"fill_parent"
android:layout_width=
"fill_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"?attr/background_
menu
"
/>
android:background=
"?attr/background_
header
"
/>
<FrameLayout
<FrameLayout
android:id=
"@android:id/tabcontent"
android:id=
"@android:id/tabcontent"
...
...
vlc-android/res/layout/audio_albums_songs.xml
View file @
0ed325b4
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
android:id=
"@android:id/tabs"
android:id=
"@android:id/tabs"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"?attr/background_
menu
"
>
android:background=
"?attr/background_
header
"
>
</TabWidget>
</TabWidget>
<FrameLayout
<FrameLayout
...
...
vlc-android/res/layout/audio_browser.xml
View file @
0ed325b4
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
android:fadingEdge=
"none"
android:fadingEdge=
"none"
android:layout_width=
"fill_parent"
android:layout_width=
"fill_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"?attr/background_
menu
"
>
android:background=
"?attr/background_
header
"
>
<LinearLayout
<LinearLayout
android:id=
"@+id/header_layout"
android:id=
"@+id/header_layout"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
...
@@ -65,14 +65,14 @@
...
@@ -65,14 +65,14 @@
android:layout_alignBottom=
"@+id/header"
android:layout_alignBottom=
"@+id/header"
android:layout_alignLeft=
"@+id/header"
android:layout_alignLeft=
"@+id/header"
android:layout_alignTop=
"@+id/header"
android:layout_alignTop=
"@+id/header"
android:background=
"
@drawable
/header_fadein_overlay"
/>
android:background=
"
?attr
/header_fadein_overlay"
/>
<View
<View
android:layout_width=
"20dip"
android:layout_width=
"20dip"
android:layout_height=
"10dip"
android:layout_height=
"10dip"
android:layout_alignBottom=
"@+id/header"
android:layout_alignBottom=
"@+id/header"
android:layout_alignRight=
"@+id/header"
android:layout_alignRight=
"@+id/header"
android:layout_alignTop=
"@+id/header"
android:layout_alignTop=
"@+id/header"
android:background=
"
@drawable
/header_fadeout_overlay"
/>
android:background=
"
?attr
/header_fadeout_overlay"
/>
</RelativeLayout>
</RelativeLayout>
<TextView
<TextView
...
...
vlc-android/res/values/attrs.xml
View file @
0ed325b4
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
<attr
name=
"playlist_item_footer"
format=
"reference|color"
/>
<attr
name=
"playlist_item_footer"
format=
"reference|color"
/>
<attr
name=
"background_menu_divider"
format=
"reference|color"
/>
<attr
name=
"background_menu_divider"
format=
"reference|color"
/>
<attr
name=
"background_menu"
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_player"
format=
"reference|color"
/>
<attr
name=
"background_playlist"
format=
"reference|color"
/>
<attr
name=
"background_playlist"
format=
"reference|color"
/>
<attr
name=
"font_default"
format=
"reference|color"
/>
<attr
name=
"font_default"
format=
"reference|color"
/>
...
@@ -30,6 +31,8 @@
...
@@ -30,6 +31,8 @@
<attr
name=
"mini_player_top_shadow"
format=
"reference"
/>
<attr
name=
"mini_player_top_shadow"
format=
"reference"
/>
<attr
name=
"audio_playlist_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"
>
<declare-styleable
name=
"SlidingPaneLayout"
>
<attr
name=
"overhangSize"
format=
"dimension"
/>
<attr
name=
"overhangSize"
format=
"dimension"
/>
...
...
vlc-android/res/values/colors.xml
View file @
0ed325b4
...
@@ -22,4 +22,9 @@
...
@@ -22,4 +22,9 @@
<color
name=
"action_bar_title"
>
#FFFFFF
</color>
<color
name=
"action_bar_title"
>
#FFFFFF
</color>
<color
name=
"darkgrey"
>
#ffa0a0a0
</color>
<color
name=
"darkgrey"
>
#ffa0a0a0
</color>
<color
name=
"black1"
>
#0f0f0f
</color>
<color
name=
"black2"
>
#222222
</color>
<color
name=
"grey1"
>
#393939
</color>
</resources>
</resources>
\ No newline at end of file
vlc-android/res/values/styles.xml
View file @
0ed325b4
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
<item
name=
"background_menu"
>
@color/background_menu
</item>
<item
name=
"background_menu"
>
@color/background_menu
</item>
<item
name=
"background_player"
>
@color/background_player
</item>
<item
name=
"background_player"
>
@color/background_player
</item>
<item
name=
"background_playlist"
>
@color/background_playlist
</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=
"audio_browser_separator"
>
@color/darkorange
</item>
<item
name=
"playlist_item_drag_shadow"
>
@color/darkorange
</item>
<item
name=
"playlist_item_drag_shadow"
>
@color/darkorange
</item>
<item
name=
"audio_player_header_time"
>
@color/darkorange
</item>
<item
name=
"audio_player_header_time"
>
@color/darkorange
</item>
...
@@ -40,19 +41,26 @@
...
@@ -40,19 +41,26 @@
<item
name=
"mini_player_top_shadow"
>
@drawable/mini_player_top_shadow
</item>
<item
name=
"mini_player_top_shadow"
>
@drawable/mini_player_top_shadow
</item>
<item
name=
"audio_playlist_shadow"
>
@drawable/audio_playlist_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>
<style
name=
"Theme.VLC.Black"
parent=
"Theme.VLC"
>
<style
name=
"Theme.VLC.Black"
parent=
"Theme.VLC"
>
<item
name=
"android:textColor"
>
@color/white
</item>
<item
name=
"android:textColor"
>
@color/white
</item>
<item
name=
"font_default"
>
@color/white
</item>
<item
name=
"font_default"
>
@color/white
</item>
<item
name=
"background_player"
>
@color/font_default
</item>
<item
name=
"item_footer"
>
@color/grey1
</item>
<item
name=
"background_playlist"
>
@color/font_default
</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=
"list_title"
>
@color/bt_list_title
</item>
<item
name=
"android:windowBackground"
>
@color/font_default
</item>
<item
name=
"android:windowBackground"
>
@color/font_default
</item>
<item
name=
"mini_player_top_shadow"
>
@null
</item>
<item
name=
"mini_player_top_shadow"
>
@null
</item>
<item
name=
"audio_playlist_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>
<style
name=
"Theme.VLC.List"
>
<style
name=
"Theme.VLC.List"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment