云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > Android Threme使用总结

Android Threme使用总结

  • 62 次阅读
  • 3 次下载
  • 2025/5/25 11:10:59

我将api中theme分为两种类型来实验;一种是api Level为11的,一种是11以下的。level为11的用的是3.0的模拟器,11以下用的是N1,2.3.3的系统。

这里我是统一将Theme写在AndroidManifest.xml中定义,如下图:

先总结level为11以下的Theme: 1、Theme:

它的意思为默认状态,即如果Theme这里不填任何属性的时候,默认为Theme。 api原文为:

The default system theme. This is the theme used for activities that have not explicitly set their own theme.

You can count on this being a dark background with light text on top, but should try to make no other assumptions about its appearance. In particular, the text inside of widgets using this theme may be

completely different, with the widget container being a light color and the text on top of it a dark color. 效果图如下:

1.1、Theme_NoDisplay

它的意思为任何都不显示。比较适用于只是运行了activity,但未显示任何东西。 api原文如下:

Default theme for activities that don’t actually display a UI; that is, they finish themselves before being resumed. 效果图如下:

1.2、Theme_NoTitleBar

意思为:背景主题的没有标题栏的样式,默认如果没有设置的话,显示黑背景 api原文:

Variant of the default (dark) theme with no title bar 效果图如下:

1.3、Theme_NoTitleBar_Fullscreen

意思为:背景主题的没有标题栏且全屏的样式,默认为黑背景 api原文:

Variant of the default (dark) theme that has no title bar and fills the entire screen 效果图如下:

搜索更多关于: Android Threme使用总结 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

我将api中theme分为两种类型来实验;一种是api Level为11的,一种是11以下的。level为11的用的是3.0的模拟器,11以下用的是N1,2.3.3的系统。 这里我是统一将Theme写在AndroidManifest.xml中定义,如下图: 先总结level为11以下的Theme: 1、Theme: 它的意思为默认状态,即如果Theme这里不填任何属性的时候,默认为Theme。 api原文为: The default system theme. This is the theme used for activities that have not explicitly set their own theme. You can count on this being a dark b

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com