styles.xml 11.8 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>
15
        <item name="actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
16 17
    </style>

18
    <style name="Theme.VLC.Apearance" parent="Theme.AppCompat.Light">
19
        <item name="marginTopContent">50dp</item>
20

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

        <item name="item_common_pressed">@color/item_common_pressed</item>
        <item name="item_common_selected">@color/item_common_selected</item>
28
        <item name="item_footer">@color/item_footer</item>
Adrien Maglo's avatar
Adrien Maglo committed
29
        <item name="playlist_item_footer">@color/grey2</item>
30 31
        <item name="background_menu_divider">@color/background_menu_divider</item>
        <item name="background_menu">@color/background_menu</item>
32
        <item name="background_player">@color/background_player</item>
33
        <item name="background_playlist">@color/background_playlist</item>
Adrien Maglo's avatar
Adrien Maglo committed
34
        <item name="background_header">@color/background_menu</item>
35 36 37
        <item name="audio_browser_separator">@color/darkorange</item>
        <item name="playlist_item_drag_shadow">@color/darkorange</item>
        <item name="audio_player_header_time">@color/darkorange</item>
38 39
        <item name="font_default">@color/font_default</item>
        <item name="font_light">@color/font_light</item>
40
        <item name="list_menu">@color/font_light</item>
41 42 43
        <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>
44
        <item name="android:windowBackground">@color/background_common</item>
45 46 47

        <item name="mini_player_top_shadow">@drawable/mini_player_top_shadow</item>
        <item name="audio_playlist_shadow">@drawable/audio_playlist_shadow</item>
Adrien Maglo's avatar
Adrien Maglo committed
48 49
        <item name="header_fadein_overlay">@drawable/header_fadein_overlay</item>
        <item name="header_fadeout_overlay">@drawable/header_fadeout_overlay</item>
50 51 52 53 54 55 56 57

        <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>
58
        <item name="ic_audio_player_dots">@drawable/dots_dark</item>
59 60
        <item name="ic_play">@drawable/ic_play</item>
        <item name="ic_pause">@drawable/ic_pause</item>
61 62
        <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>
63 64
        <item name="ic_previous">@drawable/ic_previous</item>
        <item name="ic_next">@drawable/ic_next</item>
65 66 67 68
        <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>
69
        <item name="ic_move_media">@drawable/ic_move_media</item>
70 71

        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsLight</item>
72 73
    </style>

74
    <style name="Theme.VLC.Black" parent="Theme.VLC.Apearance.Black">
75
        <item name="actionBarStyle">@style/ActionBar</item>
76
        <item name="actionBarSize">50dp</item>
77 78
        <item name="windowActionBarOverlay">true</item>
        <item name="actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
79 80
    </style>

81
    <style name="Theme.VLC.Apearance.Black" parent="Theme.AppCompat">
82
        <item name="marginTopContent">50dp</item>
83

84 85 86 87
        <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>
88

89 90
        <item name="item_common_pressed">@color/item_common_pressed</item>
        <item name="item_common_selected">@color/item_common_selected</item>
Adrien Maglo's avatar
Adrien Maglo committed
91 92
        <item name="item_footer">@color/grey1</item>
        <item name="playlist_item_footer">@color/grey1</item>
93 94
        <item name="background_menu_divider">@color/grey1</item>
        <item name="background_menu">@color/black2</item>
Adrien Maglo's avatar
Adrien Maglo committed
95 96
        <item name="background_player">@color/black1</item>
        <item name="background_playlist">@color/black2</item>
97
        <item name="background_header">@color/black3</item>
98 99 100 101 102
        <item name="audio_browser_separator">@color/darkorange</item>
        <item name="playlist_item_drag_shadow">@color/darkorange</item>
        <item name="audio_player_header_time">@color/darkorange</item>
        <item name="font_default">@color/white</item>
        <item name="font_light">@color/font_light</item>
103
        <item name="list_menu">@color/white</item>
104 105
        <item name="list_subtitle">@color/list_subtitle</item>
        <item name="list_title_last">@color/list_title_last</item>
106
        <item name="list_title">@color/bt_list_title</item>
107
        <item name="android:windowBackground">@color/black2</item>
108 109 110

        <item name="mini_player_top_shadow">@null</item>
        <item name="audio_playlist_shadow">@null</item>
Adrien Maglo's avatar
Adrien Maglo committed
111 112
        <item name="header_fadein_overlay">@drawable/bt_header_fadein_overlay</item>
        <item name="header_fadeout_overlay">@drawable/bt_header_fadeout_overlay</item>
113 114

        <item name="ic_playlist_normal">@drawable/ic_playlist_normal_w</item>
115
        <item name="ic_playlist_pressed">@drawable/ic_playlist_pressed</item>
116
        <item name="ic_repeat_normal">@drawable/ic_repeat_normal_w</item>
117 118
        <item name="ic_repeat_pressed">@drawable/ic_repeat_pressed</item>
        <item name="ic_repeat_one">@drawable/ic_repeat_one</item>
119
        <item name="ic_shuffle_normal">@drawable/ic_shuffle_normal_w</item>
120
        <item name="ic_shuffle_pressed">@drawable/ic_shuffle_pressed</item>
121
        <item name="ic_audio_player_dots">@drawable/dots</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 129 130 131
        <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>
132 133
        <item name="ic_move_media">@drawable/ic_move_media_w</item>
        
134
        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsBlack</item>
135 136
    </style>

137 138 139 140
    <style name="Theme.VLC.List">
        <item name="android:listSelector">@drawable/background_item</item>
    </style>

141 142
    <style name="Theme.VLC.NoTitleBar" parent="Theme.AppCompat.Light">
        <item name="android:windowNoTitle">true</item>
143 144
        <item name="item_common_pressed">@color/item_common_pressed</item>
        <item name="item_common_selected">@color/item_common_selected</item>
145
        <item name="item_footer">@color/item_footer</item>
146 147
        <item name="background_menu_divider">@color/background_menu_divider</item>
        <item name="background_menu">@color/background_menu</item>
148
        <item name="background_player">@color/background_player</item>
149 150 151
        <item name="font_default">@color/font_default</item>
        <item name="font_light">@color/font_light</item>
        <item name="android:windowBackground">@color/background_common</item>
152 153
    </style>

154
    <style name="Theme.VLC.Player" parent="android:Theme.NoTitleBar.Fullscreen">
155
        <item name="android:windowBackground">@color/black</item>
156
        <item name="video_player_overlay">@color/transparent_gray</item>
157 158

        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsBlack</item>
159 160
    </style>

161
    <style name="ActionBar" parent="Widget.AppCompat.Light.ActionBar">
162
        <item name="background">@drawable/actionbar_background</item>
163
        <item name="titleTextStyle">@style/ActionBar.Text</item>
164 165
    </style>

166
    <style name="ActionBar.Text" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
167
        <item name="android:textColor">@color/action_bar_title</item>
168
    </style>
169

170 171
    <style name="ActionBar.OverflowButton">
        <item name="android:src">@drawable/ic_menu_overflow</item>
172
        <item name="android:background">@drawable/abc_item_background_holo_light</item>
173 174
    </style>

175 176 177 178 179 180 181 182 183
    <!-- Advanced options menu styles -->

    <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>

184
    <style name="Theme.VLC.AdvancedOptionsLight" parent="Theme.VLC.AdvancedOptions">
185
      <item name="android:windowBackground">@drawable/abc_menu_dropdown_panel_holo_light</item>
186
      <item name="android:textColor">@color/grey1</item>
187
      <item name="advanced_options_divider">@color/darkgrey</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
188
      <item name="ic_speed_normal_style">@drawable/ic_speed_normal</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
189
      <item name="ic_sleep_normal_style">@drawable/ic_sleep_normal</item>
190
      <item name="ic_jumpto_normal_style">@drawable/ic_jumpto_normal</item>
191
      <item name="ic_equalizer_normal_style">@drawable/ic_equalizer_normal</item>
192 193
      <item name="ic_down_style">@drawable/ic_down</item>
      <item name="ic_up_style">@drawable/ic_up</item>
194
    </style>
195
    
196

197
    <style name="Theme.VLC.AdvancedOptionsBlack" parent="Theme.VLC.AdvancedOptions">
198
      <item name="android:windowBackground">@drawable/abc_menu_dropdown_panel_holo_dark</item>
199
      <item name="android:textColor">@color/white</item>
200
      <item name="advanced_options_divider">@color/grey1</item>
Adrien Maglo's avatar
Adrien Maglo committed
201 202 203
      <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>
204
      <item name="ic_equalizer_normal_style">@drawable/ic_equalizer_normal_w</item>
205 206
      <item name="ic_down_style">@drawable/ic_down_w</item>
      <item name="ic_up_style">@drawable/ic_up_w</item>
207
    </style>
208 209 210 211 212 213 214 215 216 217 218

    <!-- Tips Apearance-->

    <style name="TipsFontStyle">
      <item name="android:textColor">@color/darkerorange</item>
      <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
219
</resources>