2024年4月25日发(作者:cpu品牌排行榜前十名)
应用界面主题Theme使用方法
主题Theme就是用来设置界面UI风格,可以设置整个应用或者某个活动Activity的界面风
格。在AndroidSDK中内置了下面的Theme,可以按标题栏TitleBar和状态栏StatusBar
是否可见来分类:
.
.
.
.
.
.
.
.
.
android:theme="@android:style/"将一个Activity显示为能话框模式
不显示应用程序标题栏
不显示应用程序标
•android:theme="@android:style/eBar"
•android:theme="@android:style/reen"
题栏,并全屏
•android:theme=""背景为白色
白色背景并无标题栏•android:theme="eBar"
•android:theme="reen"
•android:theme=""背景黑色
白色背景,无标题栏,全屏
•android:theme="eBar"黑色背景并无标题栏
黑色背景,无标题栏,全屏•android:theme="reen"
.
.
栏
•android:theme="per"用系统桌面为应用程序背景
用系统桌面为应用程序背景,且无标题•android:theme="eBar"
.
.
.
.
屏
•android:theme="reen"
景,无标题栏,全屏
•android:theme="Translucent"半透明
用系统桌面为应用程序背
•android:theme="eBar"半透明、无标题栏
•android:theme="reen"半透明、无标题栏、全
.
.
•android:theme=""
•android:theme=""
发布者:admin,转转请注明出处:http://www.yc00.com/xitong/1713987033a2358362.html
评论列表(0条)