`

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="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 项目 实例

    android:theme="@style/AppTheme" > android:name=".MainActivity" android:label="@string/title_activity_main" android:theme="@style/Theme.Foo" > <action android:name="android.intent.action.MAIN...

    android 项目 开发 Demo

    android:theme="@style/AppTheme" > android:name=".MainActivity" android:label="@string/title_activity_main" android:theme="@style/Theme.Foo" > <action android:name="android.intent.action.MAIN...

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

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

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

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

    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=...

    MyFileChooser.rar

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

    安卓配置文件

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

    ToastDemo TOST用法包

    android:theme="@style/AppTheme" > android:name="com.click369.toastdemo.MainActivity" android:label="@string/app_name" > <action android:name="android.intent.action.MAIN" /> <category android...

    安卓雷电飞机小游戏源码

    android:theme="@style/AppTheme"> <activity android:name=".MainActivity"> <activity android:name="SecondActivity"> <action android:name="android.intent.action.MAIN" /> <category android:name=...

    安卓代码日志分析

    -<application android:theme="@style/AppTheme" android:label="@string/app_name" android:icon="@drawable/ic_launcher" android:allowBackup="true"> -<activity android:name=...

    BaiduMap_AndroidSDK Sample_demo

    android:theme="@style/AppTheme"> <!--这里添加正确的key和value --> <meta-data android:name="com.baidu.lbsapi.API_KEY" android:value="7OkUCRXhEG379MBvwHNG4qmbY1QTnI19" /> .................

    android检查内存泄露

    android:theme="@style/__LeakCanary.Base" > <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> 杭佳莉 2015/8/17 16:47:38 //===...

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

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

    透明与窗体的设置

    Android为透明效果提供了内置的Theme: android:style/Theme.Translucent,只需要把当前的activity的theme设置为这个Theme就可以达到完全透明的效果。 如果要半透明的话,可以增加一个继承该Theme的style即可,实现...

    Dragger-用ViewDragHelper实现的activity切换动画。.zip

    介绍:用ViewDragHelper实现的activity切换动画。运行效果:使用说明: 你可以将这个库当成view来用:将DraggerView添加到root layout,并且在里面加入两个layout。... android:theme="@style/YourTheme"/>

Global site tag (gtag.js) - Google Analytics