styles.xml 17.3 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">
3

Alexandre Perraud's avatar
Alexandre Perraud committed
4 5
    <style name="Theme.VLC" parent="Theme.VLC.7"/>
    <style name="Theme.VLC.7" parent="Theme.VLC.Apearance">
6
        <item name="actionBarStyle">@style/ActionBar</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
7
        <item name="android:textViewStyle">@style/TextView</item>
8
        <item name="windowActionBarOverlay">true</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
9
        <item name="drawerArrowStyle">@style/ActionBar.ArrowToggle</item>
10 11
    </style>

12
    <style name="Theme.VLC.Apearance" parent="Theme.AppCompat.Light.NoActionBar">
13
        <item name="marginTopContent">50dp</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
14
        <item name="toolbar_popup_style">@style/ThemeOverlay.AppCompat.Light</item>
15

16 17 18
        <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>
19
        <item name="preferenceTheme">@style/VLCPreferenceTheme.Light</item>
20

21 22
        <item name="colorPrimary">@color/orange800</item>
        <item name="colorPrimaryDark">@color/orange700</item>
23
        <item name="colorAccent">@color/orange500</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
24 25
        <item name="windowActionModeOverlay">true</item>
        <item name="actionModeBackground">@color/orange500</item>
26
        <item name="item_footer">@color/grey300</item>
27 28
        <item name="background_default">@color/grey50</item>
        <item name="background_default_darker">@color/grey100</item>
29 30
        <item name="background_actionbar">@color/orange500</item>
        <item name="background_menu_divider">@color/grey400</item>
31 32
        <item name="background_menu">@color/grey200</item>
        <item name="background_menu_selected">@color/grey300</item>
33
        <item name="background_player">@color/grey100</item>
34 35
        <item name="background_header">@color/grey300</item>
        <item name="background_audio_tips">@color/grey50transparent</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
36
        <item name="audio_player_background_tint">@color/whitetransparent</item>
37 38 39 40 41
        <item name="audio_browser_separator">@color/orange500</item>
        <item name="playlist_item_drag_shadow">@color/orange500</item>
        <item name="audio_player_header_time">@color/orange500</item>
        <item name="font_default">@color/grey900</item>
        <item name="font_light">@color/grey600</item>
42 43
        <item name="font_actionbar">@color/orange200</item>
        <item name="font_actionbar_selected">@color/grey50</item>
44
        <item name="navigationview_item_color">@color/navigationview_color</item>
45
        <item name="list_menu">@color/grey600</item>
46 47 48
        <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>
49
        <item name="android:windowBackground">@color/grey200</item>
50

51 52
        <item name="ic_playlist">@drawable/ic_playlist</item>
        <item name="ic_playlist_on">@drawable/ic_playlist_on</item>
53
        <item name="ic_menu_search">@drawable/ic_menu_search</item>
54
        <item name="ic_repeat">@drawable/ic_repeat</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
55
        <item name="ic_repeat_all">@drawable/ic_repeat_all</item>
56
        <item name="ic_repeat_one">@drawable/ic_repeat_one</item>
57 58
        <item name="ic_shuffle">@drawable/ic_shuffle</item>
        <item name="ic_shuffle_on">@drawable/ic_shuffle_on</item>
59
        <item name="ic_audio_player_more">@drawable/ic_more</item>
60 61 62 63
        <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>
64
        <item name="ic_close">@drawable/ic_close</item>
65
        <item name="ic_save">@drawable/ic_save</item>
66
        <item name="ic_move_media">@drawable/ic_move_media</item>
67
        <item name="ic_trash">@drawable/ic_trash</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
68
        <item name="ic_reset">@drawable/ic_reset</item>
69 70
        <item name="shadow_top_9patch">@drawable/shadow_top</item>
        <item name="shadow_bottom_9patch">@drawable/shadow_bottom</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
71
        <item name="gridview_progressbar">@drawable/gridview_progressbar</item>
72
        <item name="progress_mini_player">@drawable/progress_mini_player</item>
73 74
        <item name="advanced_options_style">@style/Theme.AppCompat.Light.Dialog</item>
        <item name="rounded_bg">@drawable/rounded_corners_light</item>
75 76
        <item name="ic_playasaudio_off">@drawable/ic_playasaudio_off</item>
        <item name="ic_playasaudio_on">@drawable/ic_playasaudio_on</item>
77 78
        <item name="ic_popup_expand">@drawable/ic_popup_expand</item>
        <item name="ic_popup_dim">@drawable/ic_popup_dim</item>
79 80 81
        <item name="ic_speed_normal_style">@drawable/ic_speed</item>
        <item name="ic_sleep_normal_style">@drawable/ic_sleep</item>
        <item name="ic_jumpto_normal_style">@drawable/ic_jumpto</item>
82
        <item name="ic_chapter_normal_style">@drawable/ic_chapter</item>
83 84 85
        <item name="ic_equalizer_normal_style">@drawable/ic_equalizer</item>
        <item name="ic_audiodelay">@drawable/ic_audiodelay</item>
        <item name="ic_subtitledelay">@drawable/ic_subtitledelay</item>
86 87
    </style>

88 89 90 91 92 93 94 95 96
    <style name="Theme.VLC.PickerDialog" parent="Theme.AppCompat.Light.Dialog">
        <item name="android:gridViewStyle">@style/Theme.VLC.List</item>
        <item name="background_default">@color/grey50</item>
        <item name="background_default_darker">@color/grey100</item>
        <item name="font_default">@color/grey900</item>
        <item name="font_light">@color/grey600</item>
        <item name="list_subtitle">@color/list_subtitle</item>
        <item name="list_title">@color/list_title</item>
        <item name="android:windowBackground">@color/grey200</item>
97
        <item name="android:textViewStyle">@style/TextView</item>
98 99
    </style>

Alexandre Perraud's avatar
Alexandre Perraud committed
100 101
    <style name="Theme.VLC.Black" parent="Theme.VLC.Black.7"/>
    <style name="Theme.VLC.Black.7" parent="Theme.VLC.Apearance.Black">
102 103
        <item name="actionBarStyle">@style/ActionBar</item>
        <item name="windowActionBarOverlay">true</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
104
        <item name="android:textViewStyle">@style/TextView</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
105
        <item name="drawerArrowStyle">@style/ActionBar.ArrowToggle</item>
106 107
    </style>

108
    <style name="Theme.VLC.Apearance.Black" parent="Theme.AppCompat.NoActionBar">
109
        <item name="marginTopContent">50dp</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
110
        <item name="toolbar_popup_style">@style/ThemeOverlay.AppCompat.Dark</item>
111

112 113 114
        <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>
115
        <item name="preferenceTheme">@style/VLCPreferenceTheme.Dark</item>
116

117
        <item name="colorPrimary">@color/orange800</item>
118
        <item name="colorPrimaryDark">@color/transparent</item>
119
        <item name="colorAccent">@color/orange600</item>
120
        <item name="item_footer">@color/grey700</item>
121 122
        <item name="windowActionModeOverlay">true</item>
        <item name="actionModeBackground">@color/grey875</item>
123 124
        <item name="background_default">@color/grey850</item>
        <item name="background_default_darker">@color/grey875</item>
125
        <item name="background_actionbar">@color/grey875</item>
126
        <item name="background_menu_divider">@color/grey700</item>
127
        <item name="background_menu">@color/grey850</item>
128
        <item name="background_menu_selected">@color/grey800</item>
129
        <item name="background_player">@color/grey850</item>
130 131
        <item name="background_header">@color/grey900</item>
        <item name="background_audio_tips">@color/grey900transparent</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
132
        <item name="audio_player_background_tint">@color/grey900transparent</item>
133 134 135
        <item name="audio_browser_separator">@color/orange500</item>
        <item name="playlist_item_drag_shadow">@color/orange500</item>
        <item name="audio_player_header_time">@color/orange500</item>
136
        <item name="font_default">@color/grey50</item>
137
        <item name="font_light">@color/grey600</item>
138 139
        <item name="font_actionbar">@color/grey600</item>
        <item name="font_actionbar_selected">@color/grey200</item>
140
        <item name="navigationview_item_color">@color/navigationview_color_dark</item>
141 142
        <item name="list_menu">@color/grey50</item>
        <item name="list_subtitle">@color/grey400</item>
143
        <item name="list_title_last">@color/list_title_last</item>
144
        <item name="list_title">@color/bt_list_title</item>
145
        <item name="android:windowBackground">@color/grey900</item>
146

147 148
        <item name="ic_playlist">@drawable/ic_playlist_w</item>
        <item name="ic_playlist_on">@drawable/ic_playlist_on</item>
149
        <item name="ic_menu_search">@drawable/ic_menu_search_w</item>
150
        <item name="ic_repeat">@drawable/ic_repeat_w</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
151
        <item name="ic_repeat_all">@drawable/ic_repeat_all</item>
152
        <item name="ic_repeat_one">@drawable/ic_repeat_one</item>
153 154
        <item name="ic_shuffle">@drawable/ic_shuffle_w</item>
        <item name="ic_shuffle_on">@drawable/ic_shuffle_on</item>
155
        <item name="ic_audio_player_more">@drawable/ic_more_w</item>
156 157 158 159
        <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>
160
        <item name="ic_close">@drawable/ic_close_w</item>
161
        <item name="ic_save">@drawable/ic_save_w</item>
162
        <item name="ic_move_media">@drawable/ic_move_media_w</item>
163
        <item name="ic_trash">@drawable/ic_trash_w</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
164
        <item name="ic_reset">@drawable/ic_reset_w</item>
165 166
        <item name="shadow_top_9patch">@drawable/shadow_top_dark</item>
        <item name="shadow_bottom_9patch">@drawable/shadow_bottom_dark</item>
167
        <item name="gridview_progressbar">@drawable/gridview_progressbar_w</item>
168
        <item name="progress_mini_player">@drawable/progress_mini_player_dark</item>
169 170
        <item name="advanced_options_style">@style/Theme.AppCompat.Dialog</item>
        <item name="rounded_bg">@drawable/rounded_corners</item>
171 172
        <item name="ic_playasaudio_off">@drawable/ic_playasaudio_off_w</item>
        <item name="ic_playasaudio_on">@drawable/ic_playasaudio_on_w</item>
173 174
        <item name="ic_popup_expand">@drawable/ic_popup_expand_w</item>
        <item name="ic_popup_dim">@drawable/ic_popup_dim_w</item>
175 176 177
        <item name="ic_speed_normal_style">@drawable/ic_speed_w</item>
        <item name="ic_sleep_normal_style">@drawable/ic_sleep_w</item>
        <item name="ic_jumpto_normal_style">@drawable/ic_jumpto_w</item>
178
        <item name="ic_chapter_normal_style">@drawable/ic_chapter_w</item>
179 180 181
        <item name="ic_equalizer_normal_style">@drawable/ic_equalizer_w</item>
        <item name="ic_audiodelay">@drawable/ic_audiodelay_w</item>
        <item name="ic_subtitledelay">@drawable/ic_subtitledelay_w</item>
182
    </style>
Geoffrey Métais's avatar
Geoffrey Métais committed
183
   <style name="Theme.VLC.TV" parent="Theme.Leanback">
184 185 186
       <item name="imageCardViewInfoAreaStyle">@style/VLCardViewInfoStyle</item>
       <item name="imageCardViewTitleStyle">@style/VLCardViewTitleStyle</item>
       <item name="imageCardViewStyle">@style/VLCardView</item>
187
       <item name="audio_player_background_tint">@color/grey900transparent</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
188 189 190 191
    </style>
    <style name="VLCardView" parent="Widget.Leanback.ImageCardViewStyle">
        <item name="cardType">infoUnderWithExtra</item>
        <item name="infoVisibility">always</item>
192

Geoffrey Métais's avatar
Geoffrey Métais committed
193
   </style>
Geoffrey Métais's avatar
Geoffrey Métais committed
194
    <style name="VLCardViewTitleStyle" parent="Widget.Leanback.ImageCardView.TitleStyle">
Geoffrey Métais's avatar
Geoffrey Métais committed
195 196 197
        <item name="android:scrollHorizontally">true</item>
        <item name="android:singleLine">true</item>
        <item name="android:ellipsize">marquee</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
198
   </style>
199 200 201
    <style name="VLCardViewInfoStyle" parent="Widget.Leanback.ImageCardView.InfoAreaStyle">
        <item name="android:background">@color/tv_card_content</item>
   </style>
202

203 204 205 206
    <style name="Theme.VLC.Leanback.Preferences" parent="Theme.Leanback">
        <item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
    </style>

Geoffrey Métais's avatar
Geoffrey Métais committed
207
    <style name="Theme.VLC.List" parent="android:style/Widget.AbsListView">
208
        <item name="android:listSelector">@drawable/background_item</item>
209
        <item name="android:divider">@color/transparent</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
210
        <item name="android:dividerHeight">0dp</item>
211 212
    </style>

213 214
    <style name="Theme.VLC.NoTitleBar" parent="Theme.AppCompat.Light">
        <item name="android:windowNoTitle">true</item>
215 216 217 218 219 220 221
        <item name="item_footer">@color/grey300</item>
        <item name="background_menu_divider">@color/grey400</item>
        <item name="background_menu">@color/grey300</item>
        <item name="background_player">@color/grey100</item>
        <item name="font_default">@color/grey900</item>
        <item name="font_light">@color/grey600</item>
        <item name="android:windowBackground">@color/grey200</item>
222 223
    </style>

224 225 226 227 228
    <style name="Theme.VLC.Transparent" parent="Theme.AppCompat.DayNight">
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsTranslucent">true</item>
    </style>

Geoffrey Métais's avatar
Geoffrey Métais committed
229 230
    <style name="Theme.VLC.Player" parent="Theme.VLC.Player.7"/>
    <style name="Theme.VLC.Player.7" parent="Theme.AppCompat">
231
        <item name="android:windowNoTitle">true</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
232
        <item name="android:windowFullscreen">true</item>
233 234
        <item name="android:windowBackground">@color/black</item>
        <item name="windowActionBarOverlay">true</item>
235

236
        <item name="colorPrimary">@color/orange800</item>
237
        <item name="colorPrimaryDark">@color/transparent</item>
238 239
        <item name="colorAccent">@color/orange800</item>

240 241
        <item name="rounded_bg">@drawable/rounded_corners</item>
        <item name="advanced_options_style">@style/Theme.AppCompat.Dialog</item>
242
        <item name="ic_playasaudio_on">@drawable/ic_playasaudio_on_w</item>
243
        <item name="ic_popup_dim">@drawable/ic_popup_dim_w</item>
244 245 246 247 248 249 250
        <item name="ic_speed_normal_style">@drawable/ic_speed_w</item>
        <item name="ic_sleep_normal_style">@drawable/ic_sleep_w</item>
        <item name="ic_jumpto_normal_style">@drawable/ic_jumpto_w</item>
        <item name="ic_chapter_normal_style">@drawable/ic_chapter_w</item>
        <item name="ic_equalizer_normal_style">@drawable/ic_equalizer_w</item>
        <item name="ic_audiodelay">@drawable/ic_audiodelay_w</item>
        <item name="ic_subtitledelay">@drawable/ic_subtitledelay_w</item>
251
        <item name="ic_repeat">@drawable/ic_repeat_w</item>
252
        <item name="ic_shuffle">@drawable/ic_shuffle_w</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
253 254 255
        <item name="ic_trash">@drawable/ic_trash_w</item>
        <item name="ic_reset">@drawable/ic_reset_w</item>
        <item name="ic_save">@drawable/ic_save_w</item>
256

257 258 259
        <item name="list_subtitle">@color/grey400</item>
        <item name="list_title_last">@color/list_title_last</item>
        <item name="list_title">@color/bt_list_title</item>
260 261
    </style>

262 263 264 265 266 267 268 269 270 271 272 273
    <style name="VLCTransparentTheme" parent="Theme.VLC">

        <item name="android:background">@android:color/transparent</item>
        <item name="background">@android:color/transparent</item>

        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:colorBackgroundCacheHint">@android:color/transparent</item>
        <item name="android:windowContentOverlay">@android:color/transparent</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowAnimationStyle">@android:color/transparent</item>
    </style>

Geoffrey Métais's avatar
Geoffrey Métais committed
274 275 276 277
    <style name="TextView" parent="android:Widget.TextView">
        <item name="android:textDirection">locale</item>
    </style>

278
    <style name="ActionBar" parent="Widget.AppCompat.Light.ActionBar">
279
        <item name="titleTextStyle">@style/ActionBar.Text</item>
280 281
    </style>

282
    <style name="ActionBar.Text" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
283
        <item name="android:textColor">@color/white</item>
284
    </style>
285

Geoffrey Métais's avatar
Geoffrey Métais committed
286 287
    <style name="ActionBar.ArrowToggle" parent="Widget.AppCompat.DrawerArrowToggle">
        <item name="color">@color/white</item>
288 289
    </style>

290 291
    <style name="Toolbar.VLC" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>

292 293
    <style name="Result.Title" parent="Base.TextAppearance.AppCompat.Subhead">
        <item name="textAllCaps">true</item>
294
        <item name="android:textColor">@color/orange500</item>
295 296 297 298 299 300 301 302
    </style>

    <style name="Result.List" parent="Base.Widget.AppCompat.ListView">
        <item name="android:background">@color/white</item>
        <item name="android:elevation">2sp</item>
        <item name="android:layout_margin">10dp</item>
    </style>

303 304 305 306 307 308 309 310 311 312 313
    <!--Preferences-->
    <style name="VLCPreferenceTheme.Light" parent="PreferenceThemeOverlay">
        <item name="android:textColorPrimary">@color/grey900</item>
        <item name="android:textColorSecondary">@color/grey700</item>
    </style>

    <style name="VLCPreferenceTheme.Dark" parent="PreferenceThemeOverlay">
        <item name="android:textColorPrimary">@color/grey50</item>
        <item name="android:textColorSecondary">@color/grey600</item>
    </style>

314 315 316
    <!-- Tips Apearance-->

    <style name="TipsFontStyle">
317
      <item name="android:textColor">@color/orange700</item>
318 319 320 321 322 323
      <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
324
</resources>