<?xml version="1.0" encoding="UTF-8"?>
|
<resources>
|
<!-- 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>
|
</style>
|
<!-- 其中parent可以为 android:Theme 或 android:Theme.NoTitleBar; android:windowBackground可以为背景图 -->
|
<style name="MyTheme" parent="@android:style/Theme.NoTitleBar.Fullscreen">
|
<item name="android:windowBackground">@drawable/Loading</item>
|
<!-- 隐藏状态栏 -->
|
<item name="android:windowFullscreen">false</item>
|
<!-- 隐藏标题栏 -->
|
<item name="android:windowNoTitle">true</item>
|
<item name="android:windowTranslucentStatus">true</item>
|
</style>
|
<style name="AppTheme.NoActionBar">
|
<item name="windowActionBar">false</item>
|
<item name="windowNoTitle">true</item>
|
</style>
|
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
</resources>
|