admin 管理员组

文章数量: 1086019


2023年12月17日发(作者:frameset为什么不显示)

android系统的自带样式

展开全文

摘45

在文件的activity中配置

1、android:theme="@android:style/Theme"

默认状态,即如果theme这里不填任何属性的时候,默认为Theme

2、android:theme="@android:style/lay"

任何都不显示。比较适用于只是运行了activity,但未显示任何东西

3、android:theme="@android:style/eBar“

背景主题的没有标题栏的样式,默认如果没有设置的话,显示黑背景

4背景主题的没有标题栏且全屏的样式,默认为黑背景

5、android:theme="@android:style/"

默认状态下黑背景

6android:theme="@android:style/eBar"

黑背景主题的没有标题栏的样式

7een"

黑背景主题的没有标题栏且全屏的样式

8、android:theme="@android:style/"

默认状态下亮背景,与上述黑背景相反

、android:theme="@android:style/r、、android:theme="@android:style/reen"

自:/hongya1109110121/article/details/119855

9android:theme="@android:style/eBar"

、亮背景主题的没有标题栏的样式,与eBar相反

10en"

亮背景主题的没有标题栏且全屏显示的样式,与reenr相反

11、android:theme="@android:style/"

对话框样式 将整个activity变成对话框样式出现

12、android:theme="@android:style/ethod"

Window animations that are applied to input method overlay

windows

13、android:theme="@android:style/"

删除掉所有多余的窗口装饰,在一个空的矩形框中填充内容,作用范围相当于把dialog中的所有元素全部去掉,只是一个空的矩形框,且此为默认的样式

14、android:theme="@android:style/"

删除掉所有多余的窗口装饰,在一个空的矩形框中填充内容,作用范围相当于把dialog中的所有元素全部去掉,只是一个空的矩形框,且默认是light的样式

15、android:theme="@android:style/per"

使用墙纸做主题,默认状态。

16android:theme="@android:style/perSettings"

使用墙纸做主题,默认是使用将上一个界面调暗之后作为主题

17、android:theme="@android:style/perSettings、、android:theme="@android:style/re"

使用墙纸做主题,默认Light状态

18使用墙纸做主题,且没有标题栏

19llscreen"

使用墙纸做主题,且没有标题栏,且全屏显示

20、android:theme="@android:style/ucent"

半透明状态下的背景,将运行此activity之前的屏幕作为半透明状态作为此activity运行时的样式。

21、android:theme="@android:style/eBar"

半透明状态下没有标题栏的背景,将运行此activity之前的屏幕作为半透明状态作为此activity运行时的样式。

22ullscreen"

半透明状态下没有标题栏且全屏的背景,将运行此activity之前的屏幕作为半透明状态作为此activity运行时的样式。

、android:theme="@android:style/eBar.F、android:theme="@android:style/、android:theme="@android:style/eBar"


本文标签: 标题栏 没有 样式