styles.xml 6.45 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.Sherlock.Light">
12
        <item name="actionBarStyle">@style/ActionBar</item>
13
        <item name="android:actionBarStyle">@style/ActionBar</item>
14 15
        <item name="android:windowActionBarOverlay">true</item>
        <item name="windowActionBarOverlay">true</item>
16 17 18 19 20 21 22 23
        <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_divider">@color/item_divider</item>
        <item name="item_common_pressed">@color/item_common_pressed</item>
        <item name="item_common_selected">@color/item_common_selected</item>
24
        <item name="item_footer">@color/item_footer</item>
25
        <item name="playlist_item_footer">@color/playlist_item_footer</item>
26 27
        <item name="background_menu_divider">@color/background_menu_divider</item>
        <item name="background_menu">@color/background_menu</item>
28
        <item name="background_player">@color/background_player</item>
29
        <item name="background_playlist">@color/background_playlist</item>
30 31 32
        <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>
33 34
        <item name="font_default">@color/font_default</item>
        <item name="font_light">@color/font_light</item>
35 36 37 38
        <item name="list_menu">@color/list_menu</item>
        <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>
39
        <item name="android:windowBackground">@color/background_common</item>
40 41 42

        <item name="mini_player_top_shadow">@drawable/mini_player_top_shadow</item>
        <item name="audio_playlist_shadow">@drawable/audio_playlist_shadow</item>
43 44
    </style>

Adrien Maglo's avatar
Adrien Maglo committed
45
    <style name="Theme.VLC.Black" parent="Theme.VLC">
46 47
        <item name="android:textColor">@color/white</item>

48 49 50 51 52
        <item name="font_default">@color/white</item>
        <item name="background_player">@color/font_default</item>
        <item name="background_playlist">@color/font_default</item>
        <item name="list_title">@color/bt_list_title</item>
        <item name="android:windowBackground">@color/font_default</item>
53 54 55

        <item name="mini_player_top_shadow">@null</item>
        <item name="audio_playlist_shadow">@null</item>
56 57
    </style>

58 59 60 61
    <style name="Theme.VLC.List">
        <item name="android:listSelector">@drawable/background_item</item>
    </style>

62
    <style name="Theme.VLC.NoTitleBar" parent="Theme.Sherlock.Light.NoActionBar">
63 64 65
        <item name="item_divider">@color/item_divider</item>
        <item name="item_common_pressed">@color/item_common_pressed</item>
        <item name="item_common_selected">@color/item_common_selected</item>
66
        <item name="item_footer">@color/item_footer</item>
67
        <item name="playlist_item_footer">@color/playlist_item_footer</item>
68 69
        <item name="background_menu_divider">@color/background_menu_divider</item>
        <item name="background_menu">@color/background_menu</item>
70
        <item name="background_player">@color/background_player</item>
71 72 73
        <item name="font_default">@color/font_default</item>
        <item name="font_light">@color/font_light</item>
        <item name="android:windowBackground">@color/background_common</item>
74 75
    </style>

76 77
    <style name="Theme.VLC.Fullscreen" parent="android:Theme.NoTitleBar.Fullscreen">
        <item name="android:windowBackground">@color/black</item>
78
        <item name="video_player_overlay">@color/transparent_gray</item>
79 80
    </style>

81
    <style name="ActionBar" parent="Widget.Sherlock.Light.ActionBar">
82
        <item name="android:background">@drawable/actionbar_background</item>
83
        <item name="background">@drawable/actionbar_background</item>
84
        <item name="android:titleTextStyle">@style/ActionBar.Text</item>
85
        <item name="titleTextStyle">@style/ActionBar.Text</item>
86 87
    </style>

88
    <style name="ActionBar.Text" parent="TextAppearance.Sherlock.Widget.ActionBar.Title">
89
        <item name="android:textColor">@color/action_bar_title</item>
90
    </style>
91

92 93 94 95 96 97 98 99 100 101 102 103 104
    <!-- 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>

    <style name="Theme.VLC.AdvancedOptionsAudio" parent="Theme.VLC.AdvancedOptions">
      <item name="android:windowBackground">@drawable/advanced_options_audio_background</item>
      <item name="android:textColor">@color/black</item>
      <item name="advanced_options_divider">@color/darkgrey</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
105
      <item name="ic_speed_normal_style">@drawable/ic_speed_normal</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
106
      <item name="ic_sleep_normal_style">@drawable/ic_sleep_normal</item>
107
      <item name="ic_jumpto_normal_style">@drawable/ic_jumpto_normal</item>
108 109
      <item name="ic_down_style">@drawable/ic_down</item>
      <item name="ic_up_style">@drawable/ic_up</item>
110 111 112 113 114 115
    </style>

    <style name="Theme.VLC.AdvancedOptionsVideo" parent="Theme.VLC.AdvancedOptions">
      <item name="android:windowBackground">@drawable/advanced_options_video_background</item>
      <item name="android:textColor">@color/white</item>
      <item name="advanced_options_divider">@color/white</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
116
      <item name="ic_speed_normal_style">@drawable/ic_wspeed_normal</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
117
      <item name="ic_sleep_normal_style">@drawable/ic_wsleep_normal</item>
118
      <item name="ic_jumpto_normal_style">@drawable/ic_wjumpto_normal</item>
119 120
      <item name="ic_down_style">@drawable/ic_down_w</item>
      <item name="ic_up_style">@drawable/ic_up_w</item>
121
    </style>
Michael Merg's avatar
Michael Merg committed
122
</resources>