themes.xml
2.3 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
41
42
43
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.SecurityTrainMaster" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
<style name="Theme.SecurityTrainMaster.Trans" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Primary brand color. -->
<item name="android:statusBarColor" tools:targetApi="l">@android:color/transparent</item>
<item name="android:background">@android:color/transparent</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowTranslucentStatus" >true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowActionBar">true</item>
<item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item>
<!-- Customize your theme here. -->
</style>
<style name="Theme.SecurityTrainMaster.Launcher">
<item name="colorPrimaryVariant">@android:color/transparent</item>
<!--无窗口状态栏-->
<item name="windowActionBar">false</item>
<!-- <!–无标题–>-->
<!-- <item name="android:windowNoTitle">true</item>-->
<!-- <!–无标题–>-->
<!-- <item name="windowNoTitle">true</item>-->
<!-- <!–无窗口半透明导航–>-->
<item name="android:windowTranslucentNavigation">false</item>
<!-- <!–窗口半透明状态–>-->
<item name="android:windowTranslucentStatus">false</item>
<item name="android:background">@drawable/launcher</item>
</style>
</resources>