styles.xml 1.44 KB
Newer Older
严久程 committed
1 2 3 4
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <!-- 项目中的分割线 -->
    <style name="viewline">
严久程 committed
5
        <item name="android:background">@color/course_color_E0E0E0</item>
严久程 committed
6 7 8
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">0.5dp</item>
    </style>
严久程 committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

    <style name="CourseTheme" parent="@style/CourseCommonTheme">
        <item name="android:fitsSystemWindows">false</item>
    </style>


    <style name="CourseCommonTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="colorPrimary">@color/main_theme</item>
        <item name="colorPrimaryDark">@color/main_theme</item>
        <item name="android:fitsSystemWindows">true</item>
        <item name="android:windowBackground">@color/course_color_FAFAFA</item>
        <item name="android:textCursorDrawable">@null</item>
    </style>

    <style name="CoursePosterShowTheme" parent="@style/CourseCommonTheme">
        <item name="android:windowIsTranslucent">true</item><!--半透明            -->
        <item name="android:windowNoTitle">true</item><!--无标题-->
        <item name="android:windowBackground">@color/transparent</item><!--背景透明          -->
        <item name="android:backgroundDimEnabled">true</item><!--模糊-->
    </style>

    <style name="Theme.AppCompat.Light.NoActionBar">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>
严久程 committed
34
</resources>