themes.xml 1.73 KB
Newer Older
mengcuiguang's avatar
mengcuiguang committed
1 2 3
<?xml version="1.0" encoding="utf-8"?>
<resources>

jyx's avatar
jyx committed
4
    <!--    <style name="AppTheme" parent="AppTheme.Base" />-->
mengcuiguang's avatar
mengcuiguang committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

    <style name="CustomAppTheme" parent="AppTheme.Base" />

    <style name="AppTheme.NoneTranslucent" parent="AppTheme.Base">
        <item name="android:windowIsTranslucent">false</item>
        <item name="android:windowAnimationStyle">@null</item>
    </style>

    <style name="AppTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>

        <item name="colorPrimary">@drawable/sr_primary</item>
        <item name="colorPrimaryDark">@drawable/sr_primary</item>
        <item name="colorAccent">@drawable/sr_primary</item>
    </style>

    <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />

    <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />

jyx's avatar
jyx committed
26
    <style name="AppTheme.NoActionBarTranslucent" parent="AppTheme.Base">
mengcuiguang's avatar
mengcuiguang committed
27 28 29 30 31 32 33 34
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:backgroundDimEnabled">true</item>
    </style>
jyx's avatar
jyx committed
35

jyx's avatar
jyx committed
36 37 38
    <style name="NormalSplash" parent="Theme.AppCompat.NoActionBar">
        <item name="android:windowBackground">@drawable/splash_bg</item>
        <item name="android:windowNoTitle">true</item>
jyx's avatar
jyx committed
39 40
        <item name="android:windowContentOverlay">@null</item>
    </style>
mengcuiguang's avatar
mengcuiguang committed
41
</resources>