styles.xml 5.06 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 16 17 18 19 20 21
        <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>
22
        <item name="item_footer">@color/item_footer</item>
23
        <item name="playlist_item_footer">@color/playlist_item_footer</item>
24 25
        <item name="background_menu_divider">@color/background_menu_divider</item>
        <item name="background_menu">@color/background_menu</item>
26
        <item name="background_player">@color/background_player</item>
27
        <item name="background_playlist">@color/background_playlist</item>
28 29 30 31
        <item name="font_default">@color/font_default</item>
        <item name="font_light">@color/font_light</item>
        <item name="orange">@color/orange</item>
        <item name="darkorange">@color/darkorange</item>
32
        <item name="darkerorange">@color/darkerorange</item>
33 34 35 36 37 38 39
        <item name="android:windowBackground">@color/background_common</item>
    </style>

    <style name="Theme.VLC.Basic" parent="android:Theme.Light">
        <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>
40
        <item name="item_footer">@color/item_footer</item>
41 42 43 44 45 46 47 48 49 50 51 52 53
        <item name="background_menu_divider">@color/background_menu_divider</item>
        <item name="background_menu">@color/background_menu</item>
        <item name="font_default">@color/font_default</item>
        <item name="font_light">@color/font_light</item>
        <item name="orange">@color/orange</item>
        <item name="darkorange">@color/darkorange</item>
        <item name="android:windowBackground">@color/background_common</item>
    </style>

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

54
    <style name="Theme.VLC.NoTitleBar" parent="Theme.Sherlock.Light.NoActionBar">
55 56 57
        <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>
58
        <item name="item_footer">@color/item_footer</item>
59
        <item name="playlist_item_footer">@color/playlist_item_footer</item>
60 61
        <item name="background_menu_divider">@color/background_menu_divider</item>
        <item name="background_menu">@color/background_menu</item>
62
        <item name="background_player">@color/background_player</item>
63 64 65 66 67
        <item name="font_default">@color/font_default</item>
        <item name="font_light">@color/font_light</item>
        <item name="orange">@color/orange</item>
        <item name="darkorange">@color/darkorange</item>
        <item name="android:windowBackground">@color/background_common</item>
68 69
    </style>

70 71
    <style name="Theme.VLC.Fullscreen" parent="android:Theme.NoTitleBar.Fullscreen">
        <item name="android:windowBackground">@color/black</item>
72
        <item name="transparent_gray">@color/transparent_gray</item>
73 74
    </style>

75
    <style name="ActionBar" parent="Widget.Sherlock.Light.ActionBar">
76
        <item name="android:background">@drawable/actionbar_background</item>
77
        <item name="background">@drawable/actionbar_background</item>
78
        <item name="android:titleTextStyle">@style/ActionBar.Text</item>
79
        <item name="titleTextStyle">@style/ActionBar.Text</item>
80 81
    </style>

82
    <style name="ActionBar.Text" parent="TextAppearance.Sherlock.Widget.ActionBar.Title">
83
        <item name="android:textColor">@color/action_bar_title</item>
84
    </style>
85 86 87 88 89 90 91 92 93 94

    <style name="Theme.VLC.AlertMenu" parent="android:Theme.Dialog">
        <item name="android:windowBackground">@null</item>
        <item name="android:windowFrame">@null</item>
        <item name="windowContentOverlay">@null</item>
        <item name="android:windowAnimationStyle">@null</item>
        <item name="android:backgroundDimEnabled">false</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowNoTitle">true</item>
    </style>
Michael Merg's avatar
Michael Merg committed
95
</resources>