styles.xml 15.4 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>
7
        <item name="windowActionBarOverlay">true</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
8
        <item name="drawerArrowStyle">@style/ActionBar.ArrowToggle</item>
9 10
    </style>

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

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

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

49 50
        <item name="ic_playlist">@drawable/ic_playlist</item>
        <item name="ic_playlist_on">@drawable/ic_playlist_on</item>
51
        <item name="ic_repeat">@drawable/ic_repeat</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
52
        <item name="ic_repeat_all">@drawable/ic_repeat_all</item>
53
        <item name="ic_repeat_one">@drawable/ic_repeat_one</item>
54 55
        <item name="ic_shuffle">@drawable/ic_shuffle</item>
        <item name="ic_shuffle_on">@drawable/ic_shuffle_on</item>
56
        <item name="ic_audio_player_more">@drawable/ic_more</item>
57 58 59 60
        <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>
61
        <item name="ic_close">@drawable/ic_close</item>
62
        <item name="ic_save">@drawable/ic_save</item>
63
        <item name="ic_move_media">@drawable/ic_move_media</item>
64
        <item name="ic_trash_small_normal">@drawable/ic_trash_small_normal</item>
65 66
        <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
67
        <item name="gridview_progressbar">@drawable/gridview_progressbar</item>
68
        <item name="progress_mini_player">@drawable/progress_mini_player</item>
69 70
        <item name="advanced_options_style">@style/Theme.AppCompat.Light.Dialog</item>
        <item name="rounded_bg">@drawable/rounded_corners_light</item>
71 72
        <item name="ic_playasaudio_off">@drawable/ic_playasaudio_off</item>
        <item name="ic_playasaudio_on">@drawable/ic_playasaudio_on</item>
73 74
        <item name="ic_popup_expand">@drawable/ic_popup_expand</item>
        <item name="ic_popup_dim">@drawable/ic_popup_dim</item>
75 76 77
        <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>
78
        <item name="ic_chapter_normal_style">@drawable/ic_chapter</item>
79 80 81
        <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>
82 83
    </style>

84 85 86 87 88 89 90 91 92 93 94
    <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>
    </style>

Alexandre Perraud's avatar
Alexandre Perraud committed
95 96
    <style name="Theme.VLC.Black" parent="Theme.VLC.Black.7"/>
    <style name="Theme.VLC.Black.7" parent="Theme.VLC.Apearance.Black">
97 98
        <item name="actionBarStyle">@style/ActionBar</item>
        <item name="windowActionBarOverlay">true</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
99
        <item name="drawerArrowStyle">@style/ActionBar.ArrowToggle</item>
100 101
    </style>

102
    <style name="Theme.VLC.Apearance.Black" parent="Theme.AppCompat.NoActionBar">
103
        <item name="marginTopContent">50dp</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
104
        <item name="toolbar_popup_style">@style/ThemeOverlay.AppCompat.Dark</item>
105

106 107 108
        <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>
109
        <item name="preferenceTheme">@style/VLCPreferenceTheme.Dark</item>
110

111
        <item name="colorPrimary">@color/orange800</item>
112
        <item name="colorPrimaryDark">@color/transparent</item>
113
        <item name="colorAccent">@color/orange600</item>
114
        <item name="item_footer">@color/grey700</item>
115 116
        <item name="windowActionModeOverlay">true</item>
        <item name="actionModeBackground">@color/grey875</item>
117 118
        <item name="background_default">@color/grey850</item>
        <item name="background_default_darker">@color/grey875</item>
119
        <item name="background_actionbar">@color/grey875</item>
120
        <item name="background_menu_divider">@color/grey700</item>
121
        <item name="background_menu">@color/grey850</item>
122
        <item name="background_menu_selected">@color/grey800</item>
123
        <item name="background_player">@color/grey850</item>
124 125 126 127 128
        <item name="background_header">@color/grey900</item>
        <item name="background_audio_tips">@color/grey900transparent</item>
        <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>
129
        <item name="font_default">@color/grey50</item>
130
        <item name="font_light">@color/grey600</item>
131 132
        <item name="font_actionbar">@color/grey600</item>
        <item name="font_actionbar_selected">@color/grey200</item>
133
        <item name="navigationview_item_color">@color/navigationview_color_dark</item>
134 135
        <item name="list_menu">@color/grey50</item>
        <item name="list_subtitle">@color/grey400</item>
136
        <item name="list_title_last">@color/list_title_last</item>
137
        <item name="list_title">@color/bt_list_title</item>
138
        <item name="android:windowBackground">@color/grey900</item>
139

140 141
        <item name="ic_playlist">@drawable/ic_playlist_w</item>
        <item name="ic_playlist_on">@drawable/ic_playlist_on</item>
142
        <item name="ic_repeat">@drawable/ic_repeat_w</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
143
        <item name="ic_repeat_all">@drawable/ic_repeat_all</item>
144
        <item name="ic_repeat_one">@drawable/ic_repeat_one</item>
145 146
        <item name="ic_shuffle">@drawable/ic_shuffle_w</item>
        <item name="ic_shuffle_on">@drawable/ic_shuffle_on</item>
147
        <item name="ic_audio_player_more">@drawable/ic_more_w</item>
148 149 150 151
        <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>
152
        <item name="ic_close">@drawable/ic_close_w</item>
153
        <item name="ic_save">@drawable/ic_save_w</item>
154
        <item name="ic_move_media">@drawable/ic_move_media_w</item>
155
        <item name="ic_trash_small_normal">@drawable/ic_trash_small_normal_w</item>
156 157
        <item name="shadow_top_9patch">@drawable/shadow_top_dark</item>
        <item name="shadow_bottom_9patch">@drawable/shadow_bottom_dark</item>
158
        <item name="gridview_progressbar">@drawable/gridview_progressbar</item>
159
        <item name="progress_mini_player">@drawable/progress_mini_player_dark</item>
160 161
        <item name="advanced_options_style">@style/Theme.AppCompat.Dialog</item>
        <item name="rounded_bg">@drawable/rounded_corners</item>
162 163
        <item name="ic_playasaudio_off">@drawable/ic_playasaudio_off_w</item>
        <item name="ic_playasaudio_on">@drawable/ic_playasaudio_on_w</item>
164 165
        <item name="ic_popup_expand">@drawable/ic_popup_expand_w</item>
        <item name="ic_popup_dim">@drawable/ic_popup_dim_w</item>
166 167 168
        <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>
169
        <item name="ic_chapter_normal_style">@drawable/ic_chapter_w</item>
170 171 172
        <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>
173
    </style>
Geoffrey Métais's avatar
Geoffrey Métais committed
174 175
   <style name="Theme.VLC.TV" parent="Theme.Leanback">
        <item name="imageCardViewStyle">@style/VLCardView</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
176
        <item name="imageCardViewTitleStyle">@style/VLCardViewTitleStyle</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
177 178 179 180 181
    </style>
    <style name="VLCardView" parent="Widget.Leanback.ImageCardViewStyle">
        <item name="cardType">infoUnderWithExtra</item>
        <item name="infoVisibility">always</item>
   </style>
Geoffrey Métais's avatar
Geoffrey Métais committed
182 183 184 185
    <style name="VLCardViewTitleStyle" parent="Widget.Leanback.ImageCardView.TitleStyle">
        <item name="android:maxLines">2</item>
        <item name="android:ellipsize">middle</item>
   </style>
186

187 188 189 190
    <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
191
    <style name="Theme.VLC.List" parent="android:style/Widget.AbsListView">
192
        <item name="android:listSelector">@drawable/background_item</item>
193
        <item name="android:divider">@color/transparent</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
194
        <item name="android:dividerHeight">0dp</item>
195 196
    </style>

197 198
    <style name="Theme.VLC.NoTitleBar" parent="Theme.AppCompat.Light">
        <item name="android:windowNoTitle">true</item>
199 200 201 202 203 204 205
        <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>
206 207
    </style>

208 209 210 211 212
    <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
213 214
    <style name="Theme.VLC.Player" parent="Theme.VLC.Player.7"/>
    <style name="Theme.VLC.Player.7" parent="Theme.AppCompat">
215
        <item name="android:windowNoTitle">true</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
216
        <item name="android:windowFullscreen">true</item>
217 218
        <item name="android:windowBackground">@color/black</item>
        <item name="windowActionBarOverlay">true</item>
219

220
        <item name="colorPrimary">@color/orange800</item>
221
        <item name="colorPrimaryDark">@color/transparent</item>
222 223
        <item name="colorAccent">@color/orange800</item>

224 225
        <item name="rounded_bg">@drawable/rounded_corners</item>
        <item name="advanced_options_style">@style/Theme.AppCompat.Dialog</item>
226
        <item name="ic_playasaudio_on">@drawable/ic_playasaudio_on_w</item>
227
        <item name="ic_popup_dim">@drawable/ic_popup_dim_w</item>
228 229 230 231 232 233 234
        <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>
235
        <item name="ic_repeat">@drawable/ic_repeat_w</item>
236
        <item name="ic_shuffle">@drawable/ic_shuffle_w</item>
237

238 239 240
        <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>
241 242
    </style>

243
    <style name="ActionBar" parent="Widget.AppCompat.Light.ActionBar">
244
        <item name="titleTextStyle">@style/ActionBar.Text</item>
245 246
    </style>

247
    <style name="ActionBar.Text" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
248
        <item name="android:textColor">@color/white</item>
249
    </style>
250

Geoffrey Métais's avatar
Geoffrey Métais committed
251 252
    <style name="ActionBar.ArrowToggle" parent="Widget.AppCompat.DrawerArrowToggle">
        <item name="color">@color/white</item>
253 254
    </style>

255 256
    <style name="Toolbar.VLC" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>

257 258 259 260 261 262 263 264 265 266 267
    <style name="Result.Title" parent="Base.TextAppearance.AppCompat.Subhead">
        <item name="textAllCaps">true</item>
        <item name="android:textColor">@color/orange800</item>
    </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>

268 269 270 271 272 273 274 275 276 277 278
    <!--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>

279 280 281
    <!-- Tips Apearance-->

    <style name="TipsFontStyle">
282
      <item name="android:textColor">@color/orange700</item>
283 284 285 286 287 288
      <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
289
</resources>