styles.xml 13.2 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>
Geoffrey Métais's avatar
Geoffrey Métais committed
15
        <item name="drawerArrowStyle">@style/ActionBar.ArrowToggle</item>
16 17
    </style>

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

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

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

        <item name="mini_player_top_shadow">@drawable/mini_player_top_shadow</item>
        <item name="audio_playlist_shadow">@drawable/audio_playlist_shadow</item>
52 53 54 55 56 57 58 59

        <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
60
        <item name="ic_audio_player_more">@drawable/ic_more_normal</item>
61 62
        <item name="ic_play">@drawable/ic_play</item>
        <item name="ic_pause">@drawable/ic_pause</item>
63 64
        <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>
65 66
        <item name="ic_previous">@drawable/ic_previous</item>
        <item name="ic_next">@drawable/ic_next</item>
67 68 69 70
        <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
71
        <item name="ic_menu_openmrl">@drawable/ic_menu_goto</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
72
        <item name="ic_menu_network">@drawable/ic_menu_network</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
73
        <item name="ic_menu_preferences">@drawable/ic_menu_preferences</item>
74
        <item name="ic_menu_cone">@drawable/ic_menu_cone</item>
75
        <item name="ic_move_media">@drawable/ic_move_media</item>
76
        <item name="ic_trash_small_normal">@drawable/ic_trash_small_normal</item>
77
        <item name="gridview_progressbar">@drawable/gridview_progressbar_w</item>
78
        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsLight</item>
79 80
    </style>

81
    <style name="Theme.VLC.Black" parent="Theme.VLC.Apearance.Black">
82
        <item name="actionBarStyle">@style/ActionBar</item>
83
        <item name="actionBarSize">50dp</item>
84
        <item name="windowActionBarOverlay">true</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
85
        <item name="drawerArrowStyle">@style/ActionBar.ArrowToggle</item>
86 87
    </style>

88
    <style name="Theme.VLC.Apearance.Black" parent="Theme.AppCompat.NoActionBar">
89
        <item name="marginTopContent">50dp</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
90
        <item name="toolbar_popup_style">@style/ThemeOverlay.AppCompat.Dark</item>
91

92 93 94 95
        <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>
96

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

        <item name="mini_player_top_shadow">@null</item>
        <item name="audio_playlist_shadow">@null</item>
122 123

        <item name="ic_playlist_normal">@drawable/ic_playlist_normal_w</item>
124
        <item name="ic_playlist_pressed">@drawable/ic_playlist_pressed</item>
125
        <item name="ic_repeat_normal">@drawable/ic_repeat_normal_w</item>
126 127
        <item name="ic_repeat_pressed">@drawable/ic_repeat_pressed</item>
        <item name="ic_repeat_one">@drawable/ic_repeat_one</item>
128
        <item name="ic_shuffle_normal">@drawable/ic_shuffle_normal_w</item>
129
        <item name="ic_shuffle_pressed">@drawable/ic_shuffle_pressed</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
130
        <item name="ic_audio_player_more">@drawable/ic_more_normal_w</item>
131 132
        <item name="ic_play">@drawable/ic_play_w</item>
        <item name="ic_pause">@drawable/ic_pause_w</item>
133 134
        <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>
135 136
        <item name="ic_previous">@drawable/ic_previous_w</item>
        <item name="ic_next">@drawable/ic_next_w</item>
137 138 139 140
        <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
141
        <item name="ic_menu_openmrl">@drawable/ic_menu_goto_w</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
142
        <item name="ic_menu_network">@drawable/ic_menu_network_w</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
143
        <item name="ic_menu_preferences">@drawable/ic_menu_preferences_w</item>
144
        <item name="ic_menu_cone">@drawable/ic_menu_cone_w</item>
145
        <item name="ic_move_media">@drawable/ic_move_media_w</item>
146
        <item name="ic_trash_small_normal">@drawable/ic_trash_small_normal_w</item>
147
        <item name="gridview_progressbar">@drawable/gridview_progressbar</item>
148
        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsBlack</item>
149 150
    </style>

151 152 153 154
    <style name="Theme.VLC.List">
        <item name="android:listSelector">@drawable/background_item</item>
    </style>

155 156
    <style name="Theme.VLC.NoTitleBar" parent="Theme.AppCompat.Light">
        <item name="android:windowNoTitle">true</item>
157 158 159 160 161 162 163
        <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>
164 165
    </style>

Geoffrey Métais's avatar
Geoffrey Métais committed
166 167
    <style name="Theme.VLC.Player" parent="Theme.VLC.Player.7"/>
    <style name="Theme.VLC.Player.7" parent="Theme.AppCompat">
168
        <item name="android:windowNoTitle">true</item>
Geoffrey Métais's avatar
Geoffrey Métais committed
169
        <item name="android:windowFullscreen">true</item>
170 171 172 173
        <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>
174 175

        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsBlack</item>
176 177
    </style>

178
    <style name="ActionBar" parent="Widget.AppCompat.Light.ActionBar">
179
        <item name="titleTextStyle">@style/ActionBar.Text</item>
180 181
    </style>

182
    <style name="ActionBar.Text" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
183
        <item name="android:textColor">@color/white</item>
184
    </style>
185

Geoffrey Métais's avatar
Geoffrey Métais committed
186 187
    <style name="ActionBar.ArrowToggle" parent="Widget.AppCompat.DrawerArrowToggle">
        <item name="color">@color/white</item>
188 189
    </style>

190 191
    <!-- Advanced options menu styles -->

192 193 194 195 196 197 198 199
    <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>

200 201 202 203 204 205 206
    <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>

207
    <style name="Theme.VLC.AdvancedOptionsLight" parent="Theme.VLC.AdvancedOptions">
208
      <item name="android:windowBackground">@drawable/abc_item_background_holo_light</item>
209 210 211
      <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
212
      <item name="ic_speed_normal_style">@drawable/ic_speed_normal</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
213
      <item name="ic_sleep_normal_style">@drawable/ic_sleep_normal</item>
214
      <item name="ic_jumpto_normal_style">@drawable/ic_jumpto_normal</item>
215
      <item name="ic_equalizer_normal_style">@drawable/ic_equalizer_normal</item>
216 217
      <item name="ic_down_style">@drawable/ic_down</item>
      <item name="ic_up_style">@drawable/ic_up</item>
218
    </style>
219
    
220

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

    <!-- Tips Apearance-->

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