styles.xml
1.8 KB
1
2
3
4
5
6
7
8
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
34
35
36
37
38
39
40
<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>