Android 系统自带样式 theme

android:theme="@android:style/Theme.Dialog"   将一个Activity显示为对话框模式 
android:theme="@android:style/Theme.NoTitleBar"  不显示应用程序标题栏 
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"  不显示应用程序标题栏,并全屏 
android:theme="@android:style/Theme.Light"  背景为白色 
android:theme="@android:style/Theme.Light.NoTitleBar"  白色背景并无标题栏 
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen"  白色背景,无标题栏,全屏 
android:theme="@android:style/Theme.Black"  背景黑色 
android:theme="@android:style/Theme.Black.NoTitleBar"  黑色背景并无标题栏 
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"    黑色背景,无标题栏,全屏 
android:theme="@android:style/Theme.Wallpaper"  用系统桌面为应用程序背景 
android:theme="@android:style/Theme.Wallpaper.NoTitleBar"  用系统桌面为应用程序背景,且无标题栏 
android:theme="@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen"  用系统桌面为应用程序背景,无标题栏,全屏
android:theme="@android:style/Translucent" 半透明效果 
android:theme="@android:style/Theme.Translucent.NoTitleBar"  半透明并无标题栏 
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"  半透明效果,无标题栏,全屏
android:theme="@android:style/Theme.Panel" 
android:theme="@android:style/Theme.Light.Panel"

时间: 2024-08-02 17:11:27

Android 系统自带样式 theme的相关文章

(转)Android系统自带样式(@android:style/)

在AndroidManifest.xml文件的activity中配置 1.android:theme="@android:style/Theme" 默认状态,即如果theme这里不填任何属性的时候,默认为Theme 2.android:theme="@android:style/Theme.NoDisplay" 任何都不显示.比较适用于只是运行了activity,但未显示任何东西 3.android:theme="@android:style/Theme.

Android系统自带样式(android:theme)

From: http://blog.csdn.net/dawanganban/article/details/17732701 http://www.cnblogs.com/bluestorm/archive/2012/07/12/2588724.html android:theme="@android:style/Theme.Dialog" : Activity显示为对话框模式 android:theme="@android:style/Theme.NoTitleBar&q

Android系统自带样式(@android:style/)

在AndroidManifest.xml文件的activity中配置 1.android:theme="@android:style/Theme" 默认状态,即如果theme这里不填任何属性的时候,默认为Theme 2.android:theme="@android:style/Theme.NoDisplay" 任何都不显示.比较适用于只是运行了activity,但未显示任何东西 3.android:theme="@android:style/Theme.

Android系统自带样式(@android:style/)(转)

转自:http://blog.csdn.net/hongya1109110121/article/details/11985545 在AndroidManifest.xml文件的activity中配置 1.android:theme="@android:style/Theme" 默认状态,即如果theme这里不填任何属性的时候,默认为Theme 2.android:theme="@android:style/Theme.NoDisplay" 任何都不显示.比较适用于

[转]Android有趣的全透明效果--Activity及Dialog的全透明(附android系统自带图标大全

原文:http://blog.csdn.net/sodino/article/details/5822147 1.Activity全透明 同学zzm给了这个有趣的代码,现在公布出来. 先在res/values下建colors.xml文件,写入: <? xml   version = "1.0"   encoding = "UTF-8" ?>    < resources >        < color   name = "t

利用命令行删除Android系统自带应用的方法

一般来说,手机厂家都会在手机中内置许多应用,而这些应用是使用一般的应用程序管理无法删除的.当然,现在有一些APP,如360和豌豆荚,在获取了系统的root权限之后是可以删除自带应用的.但是如果我不想让一个app来获取我的root权限呢?有没有方便.快捷的方法呢? 当然有,那就是利用shell命令.当然,首先要安装当前手机的驱动程序,否则无法进行调试. 在如何删除Android系统中的内置应用一文中作者也介绍了利用命令行删除系统应用的方法,但是个人感觉太麻烦了,其实有更简单的方法,只要三步即可:a

Android系统自带分享功能的实现(可同时分享文字和图片)

 /** * 分享功能 * * @param context * 上下文 * @param activityTitle * Activity的名字 * @param msgTitle * 消息标题 * @param msgText * 消息内容 * @param imgPath * 图片路径,不分享图片则传null */ public void shareMsg(String activityTitle, String msgTitle, String msgText, String img

android系统自带的Service原理与使用

1. 说明 android的后台运行在很多service,它们在系统启动时被SystemServer开启,支持系统的正常工作,比如 MountService监听是否有SD卡安装及移除,ClipboardService提供剪切板功能,PackageManagerService提 供软件包的安装移除及查看等等,应用程序可以通过系统提供的Manager接口来访问这些Service提供的数据,以下将说明他们的工具流程 2. 举例说明基本流程 以android系统支持sensor(传感器)实例来说明框架层

android系统自带图标

android:src="@android:drawable/ic_media_rew" android系统自带图标