styles.xml 13.1 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 18 19
        <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>

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

43 44
        <item name="ic_playlist">@drawable/ic_playlist</item>
        <item name="ic_playlist_on">@drawable/ic_playlist_on</item>
45 46
        <item name="ic_repeat">@drawable/ic_repeat</item>
        <item name="ic_repeat_on">@drawable/ic_repeat_on</item>
47
        <item name="ic_repeat_one">@drawable/ic_repeat_one</item>
48 49
        <item name="ic_shuffle">@drawable/ic_shuffle</item>
        <item name="ic_shuffle_on">@drawable/ic_shuffle_on</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
50
        <item name="ic_audio_player_more">@drawable/ic_more_normal</item>
51 52
        <item name="ic_play">@drawable/ic_play</item>
        <item name="ic_pause">@drawable/ic_pause</item>
53 54
        <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>
55 56
        <item name="ic_previous">@drawable/ic_previous</item>
        <item name="ic_next">@drawable/ic_next</item>
57
        <item name="ic_save">@drawable/ic_save</item>
58 59 60 61
        <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
62
        <item name="ic_menu_openmrl">@drawable/ic_menu_goto</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
63
        <item name="ic_menu_network">@drawable/ic_menu_network</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
64
        <item name="ic_menu_preferences">@drawable/ic_menu_preferences</item>
65
        <item name="ic_menu_cone">@drawable/ic_menu_cone</item>
66
        <item name="ic_move_media">@drawable/ic_move_media</item>
67
        <item name="ic_trash_small_normal">@drawable/ic_trash_small_normal</item>
68 69
        <item name="shadow_top_9patch">@drawable/shadow_top</item>
        <item name="shadow_bottom_9patch">@drawable/shadow_bottom</item>
70
        <item name="gridview_progressbar">@drawable/gridview_progressbar_w</item>
71
        <item name="progress_mini_player">@drawable/progress_mini_player</item>
72
        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsLight</item>
73 74
    </style>

Alexandre Perraud's avatar
Alexandre Perraud committed
75 76
    <style name="Theme.VLC.Black" parent="Theme.VLC.Black.7"/>
    <style name="Theme.VLC.Black.7" parent="Theme.VLC.Apearance.Black">
77 78
        <item name="actionBarStyle">@style/ActionBar</item>
        <item name="windowActionBarOverlay">true</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
79
        <item name="drawerArrowStyle">@style/ActionBar.ArrowToggle</item>
80 81
    </style>

82
    <style name="Theme.VLC.Apearance.Black" parent="Theme.AppCompat.NoActionBar">
83
        <item name="marginTopContent">50dp</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
84
        <item name="toolbar_popup_style">@style/ThemeOverlay.AppCompat.Dark</item>
85

86 87 88 89
        <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>
90

91
        <item name="item_footer">@color/grey700</item>
92 93
        <item name="background_default">@color/grey850</item>
        <item name="background_default_darker">@color/grey875</item>
94
        <item name="background_actionbar">@color/grey875</item>
95
        <item name="background_menu_divider">@color/grey700</item>
96
        <item name="background_menu">@color/grey850</item>
97
        <item name="background_menu_selected">@color/grey800</item>
98
        <item name="background_player">@color/grey850</item>
99 100 101 102 103
        <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>
104
        <item name="font_default">@color/grey50</item>
105
        <item name="font_light">@color/grey600</item>
106 107
        <item name="font_actionbar">@color/grey600</item>
        <item name="font_actionbar_selected">@color/grey200</item>
108 109
        <item name="list_menu">@color/grey50</item>
        <item name="list_subtitle">@color/grey400</item>
110
        <item name="list_title_last">@color/list_title_last</item>
111
        <item name="list_title">@color/bt_list_title</item>
112
        <item name="android:windowBackground">@color/grey900</item>
113

114 115
        <item name="ic_playlist">@drawable/ic_playlist_w</item>
        <item name="ic_playlist_on">@drawable/ic_playlist_on</item>
116 117
        <item name="ic_repeat">@drawable/ic_repeat_w</item>
        <item name="ic_repeat_on">@drawable/ic_repeat_on</item>
118
        <item name="ic_repeat_one">@drawable/ic_repeat_one</item>
119 120
        <item name="ic_shuffle">@drawable/ic_shuffle_w</item>
        <item name="ic_shuffle_on">@drawable/ic_shuffle_on</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
121
        <item name="ic_audio_player_more">@drawable/ic_more_normal_w</item>
122 123
        <item name="ic_play">@drawable/ic_play_w</item>
        <item name="ic_pause">@drawable/ic_pause_w</item>
124 125
        <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>
126 127
        <item name="ic_previous">@drawable/ic_previous_w</item>
        <item name="ic_next">@drawable/ic_next_w</item>
128
        <item name="ic_save">@drawable/ic_save_w</item>
129 130 131 132
        <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
133
        <item name="ic_menu_openmrl">@drawable/ic_menu_goto_w</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
134
        <item name="ic_menu_network">@drawable/ic_menu_network_w</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
135
        <item name="ic_menu_preferences">@drawable/ic_menu_preferences_w</item>
136
        <item name="ic_menu_cone">@drawable/ic_menu_cone_w</item>
137
        <item name="ic_move_media">@drawable/ic_move_media_w</item>
138
        <item name="ic_trash_small_normal">@drawable/ic_trash_small_normal_w</item>
139 140
        <item name="shadow_top_9patch">@drawable/shadow_top_dark</item>
        <item name="shadow_bottom_9patch">@drawable/shadow_bottom_dark</item>
141
        <item name="gridview_progressbar">@drawable/gridview_progressbar</item>
142
        <item name="progress_mini_player">@drawable/progress_mini_player_dark</item>
143
        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsBlack</item>
144 145
    </style>

146 147 148 149
    <style name="Theme.VLC.List">
        <item name="android:listSelector">@drawable/background_item</item>
    </style>

150 151
    <style name="Theme.VLC.NoTitleBar" parent="Theme.AppCompat.Light">
        <item name="android:windowNoTitle">true</item>
152 153 154 155 156 157 158
        <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>
159 160
    </style>

Geoffrey Métais's avatar
Geoffrey Métais committed
161 162
    <style name="Theme.VLC.Player" parent="Theme.VLC.Player.7"/>
    <style name="Theme.VLC.Player.7" parent="Theme.AppCompat">
163
        <item name="android:windowNoTitle">true</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
164
        <item name="android:windowFullscreen">true</item>
165 166 167 168
        <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>
169 170

        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsBlack</item>
171 172
    </style>

173
    <style name="ActionBar" parent="Widget.AppCompat.Light.ActionBar">
174
        <item name="titleTextStyle">@style/ActionBar.Text</item>
175 176
    </style>

177
    <style name="ActionBar.Text" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
178
        <item name="android:textColor">@color/white</item>
179
    </style>
180

Geoffrey Métais's avatar
Geoffrey Métais committed
181 182
    <style name="ActionBar.ArrowToggle" parent="Widget.AppCompat.DrawerArrowToggle">
        <item name="color">@color/white</item>
183 184
    </style>

185 186
    <style name="Toolbar.VLC" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>

187 188
    <!-- Advanced options menu styles -->

189 190 191 192 193 194 195 196
    <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>

197 198 199 200 201 202 203
    <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>

204
    <style name="Theme.VLC.AdvancedOptionsLight" parent="Theme.VLC.AdvancedOptions">
205
      <item name="android:windowBackground">@drawable/abc_item_background_holo_light</item>
206 207 208
      <item name="android:textColor">@color/grey850</item>
      <item name="advanced_options_divider">@color/grey500</item>
      <item name="advanced_options_background">@color/grey300</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
209
      <item name="ic_speed_normal_style">@drawable/ic_speed_normal</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
210
      <item name="ic_sleep_normal_style">@drawable/ic_sleep_normal</item>
211
      <item name="ic_jumpto_normal_style">@drawable/ic_jumpto_normal</item>
212
      <item name="ic_equalizer_normal_style">@drawable/ic_equalizer_normal</item>
213 214
      <item name="ic_down_style">@drawable/ic_down</item>
      <item name="ic_up_style">@drawable/ic_up</item>
215
    </style>
216
    
217

218
    <style name="Theme.VLC.AdvancedOptionsBlack" parent="Theme.VLC.AdvancedOptions">
219
      <item name="android:windowBackground">@drawable/abc_item_background_holo_dark</item>
220
      <item name="android:textColor">@color/white</item>
221 222
      <item name="advanced_options_divider">@color/grey850</item>
      <item name="advanced_options_background">@color/grey900</item>
Adrien Maglo's avatar
Adrien Maglo committed
223 224 225
      <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>
226
      <item name="ic_equalizer_normal_style">@drawable/ic_equalizer_normal_w</item>
227 228
      <item name="ic_down_style">@drawable/ic_down_w</item>
      <item name="ic_up_style">@drawable/ic_up_w</item>
229
    </style>
230 231 232 233

    <!-- Tips Apearance-->

    <style name="TipsFontStyle">
234
      <item name="android:textColor">@color/orange700</item>
235 236 237 238 239 240
      <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
241
</resources>