`
aliusa
  • 浏览: 82469 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

系统自带样式Android:theme

阅读更多
Android应用开发——系统自带样式Android:theme
 
•android:theme="@android:style/Theme.Dialog"   将一个Activity显示为能话框模式
•android:theme="@android:style/Theme.NoTitleBar"  不显示应用程序标题栏
•android:theme="@android:style/Theme.NoTitleBar.Fullscreen"  不显示应用程序标题栏,并全屏
•android:theme="Theme.Light"  背景为白色
•android:theme="Theme.Light.NoTitleBar"  白色背景并无标题栏
•android:theme="Theme.Light.NoTitleBar.Fullscreen"  白色背景,无标题栏,全屏
•android:theme="Theme.Black"  背景黑色
•android:theme="Theme.Black.NoTitleBar"  黑色背景并无标题栏
•android:theme="Theme.Black.NoTitleBar.Fullscreen"    黑色背景,无标题栏,全屏
•android:theme="Theme.Wallpaper"  用系统桌面为应用程序背景
•android:theme="Theme.Wallpaper.NoTitleBar"  用系统桌面为应用程序背景,且无标题栏
•android:theme="Theme.Wallpaper.NoTitleBar.Fullscreen"  用系统桌面为应用程序背景,无标题栏,全屏
•android:theme="Translucent"
•android:theme="Theme.Translucent.NoTitleBar"
•android:theme="Theme.Translucent.NoTitleBar.Fullscreen"
•android:theme="Theme.Panel"
•android:theme="Theme.Light.Panel"
分享到:
评论

相关推荐

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

    android:theme=”@android:style/Theme.Dialog” : Activity显示为对话框模式 android:theme=”@android:style/Theme.NoTitleBar” : 不显示应用程序标题栏 android:theme=”@android:style/Theme.NoTitleBar....

    Android设置theme中可能遇到的坑

    发现坑 最近在配置项目主题的时候报了如下错误: This Activity already has an...style name=AppTheme.NoActionBar> <item name=android:windowActionBar>false <item name=android:windowNoTitle>true <ite

    Android代码-仿微信app.rar

    android:theme="@style/horizontal_slide" android:windowSoftInputMode="adjustResize"> android:name="com.fanxin.huangfangyi.main.activity.PasswordResetActivity" android:screenOrientation=...

    Android状态保存、用户偏好设置保存、通过universal_image_loder网络加载图片并做图片缓存处理Demo

    android:theme="@style/AppTheme" > android:name="com.example.save.CopyOfMainActivity" android:label="@string/app_name" > <action android:name="android.intent.action.MAIN" /> <category android...

    android 项目 实例

    <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.demo" android:versionCode="1" android:versionName="1.0" > android:minSdkVersion="8" android:targetSdk...

    android安卓app已经放弃使用Theme.Dialog,改用Theme.Holo.DialogWhenLarge

    android安卓app已经放弃使用Theme.Dialog,改用Theme.Holo.DialogWhenLarge

    android 项目 开发 Demo

    <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.demo" android:versionCode="1" android:versionName="1.0" > android:minSdkVersion="8" android:targetSdk...

    Google Android揭秘第三章实例.rar

    android:allowClearUserData="true" android:theme="@android:style/Theme.Black"> <activity android:name="ReviewCriteria" android:label="@string/app_short_name"> <action android:name=...

    Android Studio如何去除界面默认标题栏

    (2)找到其中为 android:theme=”@style/AppTheme” 的语句,如图: (3)将其修改为 android:theme=”@style/Theme.AppCompat.NoActionBar” 即可。 至若春和景明,波澜不惊,上下天光,一碧万顷;沙鸥翔集,锦鳞...

    Android中应用界面主题Theme使用方法和页面定时跳转应用

    在Android SDK中内置了下面的Theme,可以按标题栏Title Bar和状态栏Status Bar是否可见来分类: 代码如下: android:theme=”@android:style/Theme.Dialog” 将一个Activity显示为能话框模式 android:theme=”@...

    MyFileChooser.rar

    android:theme="@android:style/Theme.NoTitleBar" 或在主题中按下面方式添加 <style name="myChooserStyle" parent="@style/AppTheme"> <item name="android:windowBackground">@android:color/...

    安卓配置文件

    <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.popwindow" android:versionCode="1" android:versionName="1.0" > android:minSdkVersion="8" android:...

    Android实现无标题栏全屏的方法

    Android中实现全屏、无标题栏的两种办法,另附Android系统自带样式的解释 实现全屏无标题栏: 1.在xml文件中进行配置 AndroidManifest.xml中,找到需要全屏或设置成无标题栏的Activity,在该Activity进行如下配置...

    ToastDemo TOST用法包

    <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.click369.toastdemo" android:versionCode="1" android:versionName="1.0" > android:minSdkVersion="10" android:...

    Android样式主题_国际化_动画

    这是一个很好 Android样式主题_国际化_动画资料,包含例子,全面详细教程, 供开发者参考,提高编程能力。

    安卓雷电飞机小游戏源码

    <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.dell.fly"> android:allowBackup="true" android:icon="@mipmap/icon1" android:label="@string/app_name" ...

    Android隐藏标题栏和去掉标题栏

    安卓窗口隐藏标题栏和状态栏,在Android Activity去除标题栏和...android:theme="@android:style/Theme.NoTitleBar" // 隐藏标题栏 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" // 隐藏标题栏与状态栏

    安卓代码日志分析

    -<manifest android:versionName="1.0" android:versionCode="1" package="com.example.camerademo" xmlns:android="http://schemas.android.com/apk/res/android"> <uses-sdk android:targetSdkVersion="18" ...

    Android改Theme实现夜间模式

    Android改Theme实现夜间模式, 说明地址:http://blog.csdn.net/u012572538/article/details/38726549

Global site tag (gtag.js) - Google Analytics