styles.xml 14.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>
23
        <item name="item_footer">@color/grey300</item>
24 25
        <item name="background_default">@color/grey50</item>
        <item name="background_default_darker">@color/grey100</item>
26 27
        <item name="background_actionbar">@color/orange500</item>
        <item name="background_menu_divider">@color/grey400</item>
28 29
        <item name="background_menu">@color/grey200</item>
        <item name="background_menu_selected">@color/grey300</item>
30
        <item name="background_player">@color/grey100</item>
31 32 33 34 35 36 37
        <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>
38 39
        <item name="font_actionbar">@color/orange200</item>
        <item name="font_actionbar_selected">@color/grey50</item>
40
        <item name="navigationview_color">@color/navigationview_color</item>
41
        <item name="list_menu">@color/grey600</item>
42 43 44
        <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>
45
        <item name="android:windowBackground">@color/grey200</item>
46

47 48
        <item name="ic_playlist">@drawable/ic_playlist</item>
        <item name="ic_playlist_on">@drawable/ic_playlist_on</item>
49 50
        <item name="ic_repeat">@drawable/ic_repeat</item>
        <item name="ic_repeat_on">@drawable/ic_repeat_on</item>
51
        <item name="ic_repeat_one">@drawable/ic_repeat_one</item>
52 53
        <item name="ic_shuffle">@drawable/ic_shuffle</item>
        <item name="ic_shuffle_on">@drawable/ic_shuffle_on</item>
54
        <item name="ic_audio_player_more">@drawable/ic_more</item>
55 56 57 58
        <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>
59
        <item name="ic_close">@drawable/ic_close</item>
60
        <item name="ic_save">@drawable/ic_save</item>
61 62 63 64
        <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
65
        <item name="ic_menu_openmrl">@drawable/ic_menu_goto</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
66
        <item name="ic_menu_network">@drawable/ic_menu_network</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
67
        <item name="ic_menu_preferences">@drawable/ic_menu_preferences</item>
68
        <item name="ic_menu_cone">@drawable/ic_menu_cone</item>
69
        <item name="ic_move_media">@drawable/ic_move_media</item>
70
        <item name="ic_trash_small_normal">@drawable/ic_trash_small_normal</item>
71 72
        <item name="shadow_top_9patch">@drawable/shadow_top</item>
        <item name="shadow_bottom_9patch">@drawable/shadow_bottom</item>
73
        <item name="gridview_progressbar">@drawable/gridview_progressbar_w</item>
74
        <item name="progress_mini_player">@drawable/progress_mini_player</item>
75 76
        <item name="advanced_options_style">@style/Theme.AppCompat.Light.Dialog</item>
        <item name="rounded_bg">@drawable/rounded_corners_light</item>
77 78 79 80 81
        <item name="ic_playasaudio_off">@drawable/ic_playasaudio_off</item>
        <item name="ic_playasaudio_on">@drawable/ic_playasaudio_on</item>
        <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 97 98
    <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
99 100
    <style name="Theme.VLC.Black" parent="Theme.VLC.Black.7"/>
    <style name="Theme.VLC.Black.7" parent="Theme.VLC.Apearance.Black">
101 102
        <item name="actionBarStyle">@style/ActionBar</item>
        <item name="windowActionBarOverlay">true</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
103
        <item name="drawerArrowStyle">@style/ActionBar.ArrowToggle</item>
104 105
    </style>

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

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

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

142 143
        <item name="ic_playlist">@drawable/ic_playlist_w</item>
        <item name="ic_playlist_on">@drawable/ic_playlist_on</item>
144 145
        <item name="ic_repeat">@drawable/ic_repeat_w</item>
        <item name="ic_repeat_on">@drawable/ic_repeat_on</item>
146
        <item name="ic_repeat_one">@drawable/ic_repeat_one</item>
147 148
        <item name="ic_shuffle">@drawable/ic_shuffle_w</item>
        <item name="ic_shuffle_on">@drawable/ic_shuffle_on</item>
149
        <item name="ic_audio_player_more">@drawable/ic_more_w</item>
150 151 152 153
        <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>
154
        <item name="ic_close">@drawable/ic_close_w</item>
155
        <item name="ic_save">@drawable/ic_save_w</item>
156 157 158 159
        <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
160
        <item name="ic_menu_openmrl">@drawable/ic_menu_goto_w</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
161
        <item name="ic_menu_network">@drawable/ic_menu_network_w</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
162
        <item name="ic_menu_preferences">@drawable/ic_menu_preferences_w</item>
163
        <item name="ic_menu_cone">@drawable/ic_menu_cone_w</item>
164
        <item name="ic_move_media">@drawable/ic_move_media_w</item>
165
        <item name="ic_trash_small_normal">@drawable/ic_trash_small_normal_w</item>
166 167
        <item name="shadow_top_9patch">@drawable/shadow_top_dark</item>
        <item name="shadow_bottom_9patch">@drawable/shadow_bottom_dark</item>
168
        <item name="gridview_progressbar">@drawable/gridview_progressbar</item>
169
        <item name="progress_mini_player">@drawable/progress_mini_player_dark</item>
170 171
        <item name="advanced_options_style">@style/Theme.AppCompat.Dialog</item>
        <item name="rounded_bg">@drawable/rounded_corners</item>
172 173 174 175 176
        <item name="ic_playasaudio_off">@drawable/ic_playasaudio_off_w</item>
        <item name="ic_playasaudio_on">@drawable/ic_playasaudio_on_w</item>
        <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>
177
        <item name="ic_chapter_normal_style">@drawable/ic_chapter_w</item>
178 179 180
        <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>
181 182
    </style>

Geoffrey Métais's avatar
Geoffrey Métais committed
183
    <style name="Theme.VLC.List" parent="android:style/Widget.AbsListView">
184
        <item name="android:listSelector">@drawable/background_item</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
185 186
        <item name="android:divider">@android:color/transparent</item>
        <item name="android:dividerHeight">0dp</item>
187 188
    </style>

189 190
    <style name="Theme.VLC.NoTitleBar" parent="Theme.AppCompat.Light">
        <item name="android:windowNoTitle">true</item>
191 192 193 194 195 196 197
        <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>
198 199
    </style>

Geoffrey Métais's avatar
Geoffrey Métais committed
200 201
    <style name="Theme.VLC.Player" parent="Theme.VLC.Player.7"/>
    <style name="Theme.VLC.Player.7" parent="Theme.AppCompat">
202
        <item name="android:windowNoTitle">true</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
203
        <item name="android:windowFullscreen">true</item>
204 205 206 207
        <item name="android:windowBackground">@color/black</item>
        <item name="windowActionBarOverlay">true</item>
        <item name="video_player_overlay">@android:color/transparent</item>
        <item name="status_bar_overlay">@android:color/transparent</item>
208

209 210 211 212
        <item name="colorPrimary">@color/orange800</item>
        <item name="colorPrimaryDark">@android:color/transparent</item>
        <item name="colorAccent">@color/orange800</item>

213 214
        <item name="rounded_bg">@drawable/rounded_corners</item>
        <item name="advanced_options_style">@style/Theme.AppCompat.Dialog</item>
215 216 217 218 219 220 221 222 223
        <item name="ic_playasaudio_on">@drawable/ic_playasaudio_on_w</item>
        <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>

224 225
    </style>

226
    <style name="ActionBar" parent="Widget.AppCompat.Light.ActionBar">
227
        <item name="titleTextStyle">@style/ActionBar.Text</item>
228 229
    </style>

230
    <style name="ActionBar.Text" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
231
        <item name="android:textColor">@color/white</item>
232
    </style>
233

Geoffrey Métais's avatar
Geoffrey Métais committed
234 235
    <style name="ActionBar.ArrowToggle" parent="Widget.AppCompat.DrawerArrowToggle">
        <item name="color">@color/white</item>
236 237
    </style>

238 239
    <style name="Toolbar.VLC" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>

240 241 242 243 244 245 246 247 248 249 250
    <!--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>

251 252 253
    <!-- Tips Apearance-->

    <style name="TipsFontStyle">
254
      <item name="android:textColor">@color/orange700</item>
255 256 257 258 259 260
      <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
261
</resources>