styles.xml 1.8 KB
<resources xmlns:tools="http://schemas.android.com/tools">

    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>

        <!--//状态栏颜色-->
        <item name="android:colorPrimaryDark">#3377ff</item>
        <!--//导航栏颜色-->
        <!-- <item name="android:navigationBarColor">#3377ff</item>-->
        <!--//添加变色标志true为变色,false为不变色-->
        <item name="android:windowLightStatusBar">true</item>
    </style>

    <style name="NoTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>
        <!--<item name="android:windowFullscreen">true</item>-->
        <!--<item name="android:windowTranslucentStatus">true </item>-->

        <!--//状态栏颜色-->
        <item name="android:colorPrimaryDark">@color/color_ffffff</item>
        <!--//导航栏颜色-->
        <!--  <item name="android:navigationBarColor">#3377ff</item>-->
        <!--//添加变色标志true为变色,false为不变色-->
        <item name="android:windowLightStatusBar" tools:ignore="NewApi">true</item>

    </style>

    <style name="AnimTopMiddle" parent="@android:style/Animation">
        <item name="android:windowEnterAnimation">@anim/top_middle_in</item>
        <item name="android:windowExitAnimation">@anim/top_middle_out</item>
    </style>

</resources>