android背景样式设置
版权声明:
本文为博主原创文章,转载请声明原文链接...谢谢。o_0。
更新时间:
2015-04-08 12:52:21
温馨提示:
学无止境,技术类文章有它的时效性,请留意文章更新时间,如发现内容有误请留言指出,防止别人"踩坑",我会及时更新文章
在AndroidManifest.xml里利用android:theme来设置,如下所示:
@android:style/Theme.Black //背景黑色-有标题-非全屏 @android:style/Theme.Black.NoTitleBar //背景黑色-无标题-非全屏 @android:style/Theme.Black.NoTitleBar.Fullscreen //背景黑色-无标题-全屏显示 @android:style/Theme.Dialog //对话框显示 @android:style/Theme.InputMethod @android:style/Theme.Light //背景白色-有标题-非全屏 @android:style/Theme.Light.NoTitleBar //背景白色-无标题-非全屏 @android:style/Theme.Light.NoTitleBar.Fullscreen //背景白色-无标题-全屏显示 @android:style/Theme.Light.Panel @android:style/Theme.Light.WallpaperSettings //背景透明 @android:style/Theme.NoDisplay @android:style/Theme.Translucent.NoTitleBar.Fullscreen //半透明、无标题栏、全屏 @android:style/Theme.Wallpaper.NoTitleBar.Fullscreen