styles.xml 10.7 KB
Newer Older
Michael Merg's avatar
Michael Merg committed
1 2
<?xml version="1.0" encoding="UTF-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
Sébastien Toque's avatar
Sébastien Toque committed
3
    <style name="info_dialog" parent="@android:style/Theme.Dialog">
4 5
        <item name="android:layout_width">fill_parent</item>
        <item name="android:layout_height">fill_parent</item>
Sébastien Toque's avatar
Sébastien Toque committed
6 7 8 9
        <item name="android:windowIsFloating">true</item>
        <item name="android:backgroundDimEnabled">true</item>
        <item name="android:windowNoTitle">true</item>
    </style>
10

11
    <style name="Theme.VLC" parent="Theme.Sherlock.Light">
12
        <item name="actionBarStyle">@style/ActionBar</item>
13
        <item name="android:actionBarStyle">@style/ActionBar</item>
14 15
        <item name="actionBarSize">50dp</item>
        <item name="android:actionBarSize">50dp</item>
16 17
        <item name="android:windowActionBarOverlay">true</item>
        <item name="windowActionBarOverlay">true</item>
18 19
        <item name="android:actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
        <item name="actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
20 21 22 23 24 25 26
        <item name="android:listViewStyle">@style/Theme.VLC.List</item>
        <item name="android:gridViewStyle">@style/Theme.VLC.List</item>
        <item name="android:expandableListViewStyle">@style/Theme.VLC.List</item>
        <item name="android:dropDownListViewStyle">@style/Theme.VLC.List</item>

        <item name="item_common_pressed">@color/item_common_pressed</item>
        <item name="item_common_selected">@color/item_common_selected</item>
27
        <item name="item_footer">@color/item_footer</item>
28
        <item name="playlist_item_footer">@color/playlist_item_footer</item>
29 30
        <item name="background_menu_divider">@color/background_menu_divider</item>
        <item name="background_menu">@color/background_menu</item>
31
        <item name="background_player">@color/background_player</item>
32
        <item name="background_playlist">@color/background_playlist</item>
Adrien Maglo's avatar
Adrien Maglo committed
33
        <item name="background_header">@color/background_menu</item>
34 35 36
        <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>
37 38
        <item name="font_default">@color/font_default</item>
        <item name="font_light">@color/font_light</item>
39
        <item name="list_menu">@color/font_light</item>
40 41 42
        <item name="list_subtitle">@color/list_subtitle</item>
        <item name="list_title_last">@color/list_title_last</item>
        <item name="list_title">@color/list_title</item>
43
        <item name="android:windowBackground">@color/background_common</item>
44 45 46

        <item name="mini_player_top_shadow">@drawable/mini_player_top_shadow</item>
        <item name="audio_playlist_shadow">@drawable/audio_playlist_shadow</item>
Adrien Maglo's avatar
Adrien Maglo committed
47 48
        <item name="header_fadein_overlay">@drawable/header_fadein_overlay</item>
        <item name="header_fadeout_overlay">@drawable/header_fadeout_overlay</item>
49 50 51 52 53 54 55 56

        <item name="ic_playlist_normal">@drawable/ic_playlist_normal</item>
        <item name="ic_playlist_pressed">@drawable/ic_playlist_pressed</item>
        <item name="ic_repeat_normal">@drawable/ic_repeat_normal</item>
        <item name="ic_repeat_pressed">@drawable/ic_repeat_pressed</item>
        <item name="ic_repeat_one">@drawable/ic_repeat_one</item>
        <item name="ic_shuffle_normal">@drawable/ic_shuffle_normal</item>
        <item name="ic_shuffle_pressed">@drawable/ic_shuffle_pressed</item>
57
        <item name="ic_audio_player_dots">@drawable/dots_dark</item>
58 59 60 61
        <item name="ic_play">@drawable/ic_play</item>
        <item name="ic_pause">@drawable/ic_pause</item>
        <item name="ic_previous">@drawable/ic_previous</item>
        <item name="ic_next">@drawable/ic_next</item>
62 63

        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsLight</item>
64 65
    </style>

66 67 68
    <style name="Theme.VLC.Black" parent="Theme.Sherlock">
        <item name="actionBarStyle">@style/ActionBar</item>
        <item name="android:actionBarStyle">@style/ActionBar</item>
69 70
        <item name="actionBarSize">50dp</item>
        <item name="android:actionBarSize">50dp</item>
71 72 73 74 75 76 77 78
        <item name="android:windowActionBarOverlay">true</item>
        <item name="windowActionBarOverlay">true</item>
        <item name="android:actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
        <item name="actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
        <item name="android:listViewStyle">@style/Theme.VLC.List</item>
        <item name="android:gridViewStyle">@style/Theme.VLC.List</item>
        <item name="android:expandableListViewStyle">@style/Theme.VLC.List</item>
        <item name="android:dropDownListViewStyle">@style/Theme.VLC.List</item>
79

80 81
        <item name="item_common_pressed">@color/item_common_pressed</item>
        <item name="item_common_selected">@color/item_common_selected</item>
Adrien Maglo's avatar
Adrien Maglo committed
82 83
        <item name="item_footer">@color/grey1</item>
        <item name="playlist_item_footer">@color/grey1</item>
84 85
        <item name="background_menu_divider">@color/background_menu_divider</item>
        <item name="background_menu">@color/background_menu</item>
Adrien Maglo's avatar
Adrien Maglo committed
86 87
        <item name="background_player">@color/black1</item>
        <item name="background_playlist">@color/black2</item>
88
        <item name="background_header">@color/black3</item>
89 90 91 92 93
        <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>
        <item name="font_default">@color/white</item>
        <item name="font_light">@color/font_light</item>
94
        <item name="list_menu">@color/font_light</item>
95 96
        <item name="list_subtitle">@color/list_subtitle</item>
        <item name="list_title_last">@color/list_title_last</item>
97
        <item name="list_title">@color/bt_list_title</item>
98
        <item name="android:windowBackground">@color/black2</item>
99 100 101

        <item name="mini_player_top_shadow">@null</item>
        <item name="audio_playlist_shadow">@null</item>
Adrien Maglo's avatar
Adrien Maglo committed
102 103
        <item name="header_fadein_overlay">@drawable/bt_header_fadein_overlay</item>
        <item name="header_fadeout_overlay">@drawable/bt_header_fadeout_overlay</item>
104 105

        <item name="ic_playlist_normal">@drawable/ic_playlist_normal_w</item>
106
        <item name="ic_playlist_pressed">@drawable/ic_playlist_pressed</item>
107
        <item name="ic_repeat_normal">@drawable/ic_repeat_normal_w</item>
108 109
        <item name="ic_repeat_pressed">@drawable/ic_repeat_pressed</item>
        <item name="ic_repeat_one">@drawable/ic_repeat_one</item>
110
        <item name="ic_shuffle_normal">@drawable/ic_shuffle_normal_w</item>
111
        <item name="ic_shuffle_pressed">@drawable/ic_shuffle_pressed</item>
112
        <item name="ic_audio_player_dots">@drawable/dots</item>
113 114 115 116
        <item name="ic_play">@drawable/ic_play_w</item>
        <item name="ic_pause">@drawable/ic_pause_w</item>
        <item name="ic_previous">@drawable/ic_previous_w</item>
        <item name="ic_next">@drawable/ic_next_w</item>
117 118

        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsBlack</item>
119 120
    </style>

121 122 123 124
    <style name="Theme.VLC.List">
        <item name="android:listSelector">@drawable/background_item</item>
    </style>

125
    <style name="Theme.VLC.NoTitleBar" parent="Theme.Sherlock.Light.NoActionBar">
126 127
        <item name="item_common_pressed">@color/item_common_pressed</item>
        <item name="item_common_selected">@color/item_common_selected</item>
128
        <item name="item_footer">@color/item_footer</item>
129 130
        <item name="background_menu_divider">@color/background_menu_divider</item>
        <item name="background_menu">@color/background_menu</item>
131
        <item name="background_player">@color/background_player</item>
132 133 134
        <item name="font_default">@color/font_default</item>
        <item name="font_light">@color/font_light</item>
        <item name="android:windowBackground">@color/background_common</item>
135 136
    </style>

137 138
    <style name="Theme.VLC.Fullscreen" parent="android:Theme.NoTitleBar.Fullscreen">
        <item name="android:windowBackground">@color/black</item>
139
        <item name="video_player_overlay">@color/transparent_gray</item>
140 141

        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsBlack</item>
142 143
    </style>

144
    <style name="ActionBar" parent="Widget.Sherlock.Light.ActionBar">
145
        <item name="android:background">@drawable/actionbar_background</item>
146
        <item name="background">@drawable/actionbar_background</item>
147
        <item name="android:titleTextStyle">@style/ActionBar.Text</item>
148
        <item name="titleTextStyle">@style/ActionBar.Text</item>
149 150
    </style>

151
    <style name="ActionBar.Text" parent="TextAppearance.Sherlock.Widget.ActionBar.Title">
152
        <item name="android:textColor">@color/action_bar_title</item>
153
    </style>
154

155 156 157 158
    <style name="ActionBar.OverflowButton">
        <item name="android:src">@drawable/ic_menu_overflow</item>
    </style>

159 160 161 162 163 164 165 166 167
    <!-- Advanced options menu styles -->

    <style name="Theme.VLC.AdvancedOptions" parent="@android:style/Theme.Dialog">
      <item name="android:windowIsFloating">true</item>
      <item name="android:backgroundDimEnabled">false</item>
      <item name="android:windowIsTranslucent">false</item>
      <item name="android:windowNoTitle">true</item>
    </style>

168 169
    <style name="Theme.VLC.AdvancedOptionsLight" parent="Theme.VLC.AdvancedOptions">
      <item name="android:windowBackground">@drawable/abs__menu_dropdown_panel_holo_light</item>
170 171
      <item name="android:textColor">@color/black</item>
      <item name="advanced_options_divider">@color/darkgrey</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
172
      <item name="ic_speed_normal_style">@drawable/ic_speed_normal</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
173
      <item name="ic_sleep_normal_style">@drawable/ic_sleep_normal</item>
174
      <item name="ic_jumpto_normal_style">@drawable/ic_jumpto_normal</item>
175
      <item name="ic_equalizer_normal_style">@drawable/ic_equalizer_normal</item>
176 177
      <item name="ic_down_style">@drawable/ic_down</item>
      <item name="ic_up_style">@drawable/ic_up</item>
178
    </style>
179
    
180

181 182
    <style name="Theme.VLC.AdvancedOptionsBlack" parent="Theme.VLC.AdvancedOptions">
      <item name="android:windowBackground">@drawable/abs__menu_dropdown_panel_holo_dark</item>
183 184
      <item name="android:textColor">@color/white</item>
      <item name="advanced_options_divider">@color/white</item>
Adrien Maglo's avatar
Adrien Maglo committed
185 186 187
      <item name="ic_speed_normal_style">@drawable/ic_speed_normal_w</item>
      <item name="ic_sleep_normal_style">@drawable/ic_sleep_normal_w</item>
      <item name="ic_jumpto_normal_style">@drawable/ic_jumpto_normal_w</item>
188
      <item name="ic_equalizer_normal_style">@drawable/ic_equalizer_normal_w</item>
189 190
      <item name="ic_down_style">@drawable/ic_down_w</item>
      <item name="ic_up_style">@drawable/ic_up_w</item>
191
    </style>
Michael Merg's avatar
Michael Merg committed
192
</resources>