styles.xml 5.13 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 35 36 37 38 39 40 41
        <item name="font_default">@color/font_default</item>
        <item name="font_light">@color/font_light</item>
        <item name="android:windowBackground">@color/background_common</item>
    </style>

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

42
    <style name="Theme.VLC.NoTitleBar" parent="Theme.Sherlock.Light.NoActionBar">
43 44 45
        <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>
46
        <item name="item_footer">@color/item_footer</item>
47
        <item name="playlist_item_footer">@color/playlist_item_footer</item>
48 49
        <item name="background_menu_divider">@color/background_menu_divider</item>
        <item name="background_menu">@color/background_menu</item>
50
        <item name="background_player">@color/background_player</item>
51 52 53
        <item name="font_default">@color/font_default</item>
        <item name="font_light">@color/font_light</item>
        <item name="android:windowBackground">@color/background_common</item>
54 55
    </style>

56 57
    <style name="Theme.VLC.Fullscreen" parent="android:Theme.NoTitleBar.Fullscreen">
        <item name="android:windowBackground">@color/black</item>
58
        <item name="video_player_overlay">@color/transparent_gray</item>
59 60
    </style>

61
    <style name="ActionBar" parent="Widget.Sherlock.Light.ActionBar">
62
        <item name="android:background">@drawable/actionbar_background</item>
63
        <item name="background">@drawable/actionbar_background</item>
64
        <item name="android:titleTextStyle">@style/ActionBar.Text</item>
65
        <item name="titleTextStyle">@style/ActionBar.Text</item>
66 67
    </style>

68
    <style name="ActionBar.Text" parent="TextAppearance.Sherlock.Widget.ActionBar.Title">
69
        <item name="android:textColor">@color/action_bar_title</item>
70
    </style>
71

72 73 74 75 76 77 78 79 80 81 82 83 84
    <!-- 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
85
      <item name="ic_speed_normal_style">@drawable/ic_speed_normal</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
86
      <item name="ic_sleep_normal_style">@drawable/ic_sleep_normal</item>
87 88 89 90 91 92
    </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
93
      <item name="ic_speed_normal_style">@drawable/ic_wspeed_normal</item>
Alexandre Perraud's avatar
Alexandre Perraud committed
94
      <item name="ic_sleep_normal_style">@drawable/ic_wsleep_normal</item>
95
    </style>
Michael Merg's avatar
Michael Merg committed
96
</resources>