styles.xml 14.6 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.VLC.Apearance">
12
        <item name="actionBarStyle">@style/ActionBar</item>
13
        <item name="actionBarSize">50dp</item>
14
        <item name="windowActionBarOverlay">true</item>
15
        <item name="actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
16
        <item name="drawerArrowStyle">@style/ActionBar.ArrowToggle</item>
17 18
    </style>

19
    <style name="Theme.VLC.Apearance" parent="Theme.AppCompat.Light.NoActionBar">
20
        <item name="marginTopContent">50dp</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
21
        <item name="toolbar_popup_style">@style/ThemeOverlay.AppCompat.Light</item>
22

23 24 25 26 27
        <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>

Geoffrey Métais's avatar
Geoffrey Métais committed
28

29 30
        <item name="item_common_pressed">@color/item_common_pressed</item>
        <item name="item_common_selected">@color/item_common_selected</item>
31
        <item name="item_footer">@color/item_footer</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
32
        <item name="playlist_item_footer">@color/item_footer</item>
33 34
        <item name="background_default">@color/grey50</item>
        <item name="background_default_darker">@color/grey100</item>
35
        <item name="background_actionbar">@color/darkorange</item>
36
        <item name="background_menu_divider">@color/background_menu_divider</item>
37 38
        <item name="background_menu">@color/grey200</item>
        <item name="background_menu_selected">@color/grey300</item>
39
        <item name="background_player">@color/grey100</item>
40
        <item name="background_playlist">@color/background_playlist</item>
Adrien Maglo's avatar
Adrien Maglo committed
41
        <item name="background_header">@color/background_menu</item>
42 43 44
        <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>
45 46
        <item name="font_default">@color/font_default</item>
        <item name="font_light">@color/font_light</item>
47 48
        <item name="font_actionbar">@color/orange200</item>
        <item name="font_actionbar_selected">@color/grey50</item>
49
        <item name="list_menu">@color/font_light</item>
50 51 52
        <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>
53
        <item name="android:windowBackground">@color/grey200</item>
54 55 56

        <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
57 58
        <item name="header_fadein_overlay">@drawable/header_fadein_overlay</item>
        <item name="header_fadeout_overlay">@drawable/header_fadeout_overlay</item>
59 60 61 62 63 64 65 66

        <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>
Alexandre Perraud's avatar
Alexandre Perraud committed
67
        <item name="ic_audio_player_more">@drawable/ic_more_normal</item>
68 69
        <item name="ic_play">@drawable/ic_play</item>
        <item name="ic_pause">@drawable/ic_pause</item>
70 71
        <item name="ic_play_for_header_play_pause">@drawable/ic_play_for_header_play_pause</item>
        <item name="ic_pause_for_header_play_pause">@drawable/ic_pause_for_header_play_pause</item>
72 73
        <item name="ic_previous">@drawable/ic_previous</item>
        <item name="ic_next">@drawable/ic_next</item>
74 75 76 77
        <item name="ic_menu_video">@drawable/ic_menu_video</item>
        <item name="ic_menu_audio">@drawable/ic_menu_audio</item>
        <item name="ic_menu_folder">@drawable/ic_menu_folder</item>
        <item name="ic_menu_history">@drawable/ic_menu_history</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
78
        <item name="ic_menu_openmrl">@drawable/ic_menu_goto</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
79
        <item name="ic_menu_network">@drawable/ic_menu_network</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
80
        <item name="ic_menu_preferences">@drawable/ic_menu_preferences</item>
81
        <item name="ic_menu_cone">@drawable/ic_menu_cone</item>
82
        <item name="ic_move_media">@drawable/ic_move_media</item>
83
        <item name="ic_trash_small_normal">@drawable/ic_trash_small_normal</item>
84
        <item name="gridview_progressbar">@drawable/gridview_progressbar_w</item>
85
        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsLight</item>
86 87
    </style>

88
    <style name="Theme.VLC.Black" parent="Theme.VLC.Apearance.Black">
89
        <item name="actionBarStyle">@style/ActionBar</item>
90
        <item name="actionBarSize">50dp</item>
91 92
        <item name="windowActionBarOverlay">true</item>
        <item name="actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
93
        <item name="drawerArrowStyle">@style/ActionBar.ArrowToggle</item>
94 95
    </style>

96
    <style name="Theme.VLC.Apearance.Black" parent="Theme.AppCompat.NoActionBar">
97
        <item name="marginTopContent">50dp</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
98
        <item name="toolbar_popup_style">@style/ThemeOverlay.AppCompat.Dark</item>
99

100 101 102 103
        <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>
104

105 106
        <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
107 108
        <item name="item_footer">@color/grey1</item>
        <item name="playlist_item_footer">@color/grey1</item>
109 110
        <item name="background_default">@color/grey850</item>
        <item name="background_default_darker">@color/grey875</item>
111
        <item name="background_actionbar">@color/grey875</item>
112
        <item name="background_menu_divider">@color/grey1</item>
113
        <item name="background_menu">@color/grey850</item>
114
        <item name="background_menu_selected">@color/grey800</item>
115
        <item name="background_player">@color/grey850</item>
Adrien Maglo's avatar
Adrien Maglo committed
116
        <item name="background_playlist">@color/black2</item>
117
        <item name="background_header">@color/black3</item>
118 119 120
        <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>
121
        <item name="font_default">@color/grey50</item>
122
        <item name="font_light">@color/font_light</item>
123 124
        <item name="font_actionbar">@color/grey600</item>
        <item name="font_actionbar_selected">@color/grey200</item>
125 126
        <item name="list_menu">@color/grey50</item>
        <item name="list_subtitle">@color/grey400</item>
127
        <item name="list_title_last">@color/list_title_last</item>
128
        <item name="list_title">@color/bt_list_title</item>
129
        <item name="android:windowBackground">@color/grey900</item>
130 131 132

        <item name="mini_player_top_shadow">@null</item>
        <item name="audio_playlist_shadow">@null</item>
Adrien Maglo's avatar
Adrien Maglo committed
133 134
        <item name="header_fadein_overlay">@drawable/bt_header_fadein_overlay</item>
        <item name="header_fadeout_overlay">@drawable/bt_header_fadeout_overlay</item>
135 136

        <item name="ic_playlist_normal">@drawable/ic_playlist_normal_w</item>
137
        <item name="ic_playlist_pressed">@drawable/ic_playlist_pressed</item>
138
        <item name="ic_repeat_normal">@drawable/ic_repeat_normal_w</item>
139 140
        <item name="ic_repeat_pressed">@drawable/ic_repeat_pressed</item>
        <item name="ic_repeat_one">@drawable/ic_repeat_one</item>
141
        <item name="ic_shuffle_normal">@drawable/ic_shuffle_normal_w</item>
142
        <item name="ic_shuffle_pressed">@drawable/ic_shuffle_pressed</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
143
        <item name="ic_audio_player_more">@drawable/ic_more_normal_w</item>
144 145
        <item name="ic_play">@drawable/ic_play_w</item>
        <item name="ic_pause">@drawable/ic_pause_w</item>
146 147
        <item name="ic_play_for_header_play_pause">@drawable/ic_play_for_header_play_pause_w</item>
        <item name="ic_pause_for_header_play_pause">@drawable/ic_pause_for_header_play_pause_w</item>
148 149
        <item name="ic_previous">@drawable/ic_previous_w</item>
        <item name="ic_next">@drawable/ic_next_w</item>
150 151 152 153
        <item name="ic_menu_video">@drawable/ic_menu_video_w</item>
        <item name="ic_menu_audio">@drawable/ic_menu_audio_w</item>
        <item name="ic_menu_folder">@drawable/ic_menu_folder_w</item>
        <item name="ic_menu_history">@drawable/ic_menu_history_w</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
154
        <item name="ic_menu_openmrl">@drawable/ic_menu_goto_w</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
155
        <item name="ic_menu_network">@drawable/ic_menu_network_w</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
156
        <item name="ic_menu_preferences">@drawable/ic_menu_preferences_w</item>
157
        <item name="ic_menu_cone">@drawable/ic_menu_cone_w</item>
158
        <item name="ic_move_media">@drawable/ic_move_media_w</item>
159
        <item name="ic_trash_small_normal">@drawable/ic_trash_small_normal_w</item>
160
        <item name="gridview_progressbar">@drawable/gridview_progressbar</item>
161
        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsBlack</item>
162 163
    </style>

164 165 166 167
    <style name="Theme.VLC.List">
        <item name="android:listSelector">@drawable/background_item</item>
    </style>

168 169
    <style name="Theme.VLC.NoTitleBar" parent="Theme.AppCompat.Light">
        <item name="android:windowNoTitle">true</item>
170 171
        <item name="item_common_pressed">@color/item_common_pressed</item>
        <item name="item_common_selected">@color/item_common_selected</item>
172
        <item name="item_footer">@color/item_footer</item>
173 174
        <item name="background_menu_divider">@color/background_menu_divider</item>
        <item name="background_menu">@color/background_menu</item>
175
        <item name="background_player">@color/background_player</item>
176 177 178
        <item name="font_default">@color/font_default</item>
        <item name="font_light">@color/font_light</item>
        <item name="android:windowBackground">@color/background_common</item>
179 180
    </style>

Geoffrey Métais's avatar
Geoffrey Métais committed
181 182
    <style name="Theme.VLC.Player" parent="Theme.VLC.Player.7"/>
    <style name="Theme.VLC.Player.7" parent="Theme.AppCompat">
183
        <item name="android:windowNoTitle">true</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
184
        <item name="android:windowFullscreen">true</item>
185 186 187 188 189
        <item name="android:windowBackground">@color/black</item>
        <item name="windowActionBarOverlay">true</item>
        <!-- item name="video_player_overlay">@color/transparent_gray</item-->
        <item name="video_player_overlay">@android:color/transparent</item>
        <item name="status_bar_overlay">@android:color/transparent</item>
190 191

        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsBlack</item>
192 193
    </style>

194
    <style name="ActionBar" parent="Widget.AppCompat.Light.ActionBar">
195
        <item name="titleTextStyle">@style/ActionBar.Text</item>
196 197
    </style>

198
    <style name="ActionBar.Text" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
199
        <item name="android:textColor">@color/action_bar_title</item>
200
    </style>
201

202
    <style name="ActionBar.OverflowButton">
Alexandre Perraud's avatar
Alexandre Perraud committed
203
        <item name="android:src">@drawable/ic_menu_overflow_w</item>
204
        <item name="android:padding">5dp</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
205 206 207 208
    </style>

    <style name="ActionBar.ArrowToggle" parent="Widget.AppCompat.DrawerArrowToggle">
        <item name="color">@color/white</item>
209 210
    </style>

211 212
    <!-- Advanced options menu styles -->

213 214 215 216 217 218 219 220
    <style name="Theme.VLC.TransparentDialog" parent="@style/Theme.AppCompat.Dialog">
      <item name="android:windowIsFloating">true</item>
      <item name="android:backgroundDimEnabled">true</item>
      <item name="android:windowIsTranslucent">true</item>
      <item name="android:windowNoTitle">true</item>
      <item name="android:windowBackground">@drawable/rounded_corners</item>
    </style>

221 222 223 224 225 226 227
    <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>

228
    <style name="Theme.VLC.AdvancedOptionsLight" parent="Theme.VLC.AdvancedOptions">
229
      <item name="android:windowBackground">@drawable/abc_item_background_holo_light</item>
230
      <item name="android:textColor">@color/grey1</item>
231
      <item name="advanced_options_divider">@color/darkgrey</item>
232
      <item name="advanced_options_background">@color/background_menu</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
233
      <item name="ic_speed_normal_style">@drawable/ic_speed_normal</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
234
      <item name="ic_sleep_normal_style">@drawable/ic_sleep_normal</item>
235
      <item name="ic_jumpto_normal_style">@drawable/ic_jumpto_normal</item>
236
      <item name="ic_equalizer_normal_style">@drawable/ic_equalizer_normal</item>
237 238
      <item name="ic_down_style">@drawable/ic_down</item>
      <item name="ic_up_style">@drawable/ic_up</item>
239
    </style>
240
    
241

242
    <style name="Theme.VLC.AdvancedOptionsBlack" parent="Theme.VLC.AdvancedOptions">
243
      <item name="android:windowBackground">@drawable/abc_item_background_holo_dark</item>
244
      <item name="android:textColor">@color/white</item>
245
      <item name="advanced_options_divider">@color/grey1</item>
246
      <item name="advanced_options_background">@color/black2</item>
Adrien Maglo's avatar
Adrien Maglo committed
247 248 249
      <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>
250
      <item name="ic_equalizer_normal_style">@drawable/ic_equalizer_normal_w</item>
251 252
      <item name="ic_down_style">@drawable/ic_down_w</item>
      <item name="ic_up_style">@drawable/ic_up_w</item>
253
    </style>
254 255 256 257 258 259 260 261 262 263 264

    <!-- Tips Apearance-->

    <style name="TipsFontStyle">
      <item name="android:textColor">@color/darkerorange</item>
      <item name="android:textStyle">bold</item>
    </style>

    <style name="TipsFontStyle.Small" parent="TipsFontStyle">
      <item name="android:textSize">10sp</item>
    </style>
Michael Merg's avatar
Michael Merg committed
265
</resources>