android:theme="@android:style/Theme.Dialog" : Activity显示为对话框模式android:theme="@android:style/Theme.NoTitleBar" : 不显示应用程序标题栏android:theme="@android:styl...
分类:
移动开发 时间:
2014-09-13 14:30:05
阅读次数:
213
全屏一般有两种方法,第一种是在festxml文件中配置:
也就是给activity节点加上android:theme="@android:style/Theme.NoTitleBar.Fullscreen":
<activity
android:name="com.howlaa.girlsos.FirstActivity"
android:la...
分类:
移动开发 时间:
2014-09-06 10:59:43
阅读次数:
274
一.项目问题1.欢迎界面显示时,使back键失效二.项目开发功能点:1.监听按键事件在Activity中重写onKeyDown()方法2.自定义主题解决Android多版本碎片化问题目的:在2.x中的主题是NoTitlebar,在4.x中的主题是NoActionbarAndroid系统的读取资源的机制:apk的res目录中有多个style..
分类:
移动开发 时间:
2014-08-15 02:55:37
阅读次数:
326
实现无标题的两种方法:配置xml文件和编写代码设置1.在AndroidManifest.xml文件中进行配置实现全屏效果:android:theme="@android:style/Theme.NoTitleBar.Fullscreen"实现无标题栏(但有系统自带的任务栏):android:them...
分类:
移动开发 时间:
2014-08-07 21:35:40
阅读次数:
215
Activity的加载模式是在清单文件AndroidManifest.xml文件中进行设置<activityandroid:name="...."android:label="@string/app_name"android:launchMode="singleTask"(Activity的加载模式)android:theme="@android:style/Theme.Light.NoTitleBar"></activity>1、sta..
分类:
其他好文 时间:
2014-08-07 07:26:19
阅读次数:
228
Activity的加载模式是在清单文件AndroidManifest.xml文件中进行设置<activityandroid:name="...."android:label="@string/app_name"android:launchMode="singleTask"(Activity的加载模式)android:theme="@android:style/Theme.Light.NoTitleBar"></activity>1、sta..
分类:
其他好文 时间:
2014-08-07 07:26:09
阅读次数:
1065
主题 android:theme------->必须不能使Theme.Light.NoTitleBar否则不起作用requestWindowFeature(Window.FEATURE_PROGRESS); setContentView(R.layout.progressbar...
分类:
移动开发 时间:
2014-08-01 15:42:01
阅读次数:
399
android中的style属性值
Android平台定义的主题样式:
android:theme="@android:style/Theme.Dialog" // 将一个Activity显示为对话框模式
android:theme="@android:style/Theme.NoTitleBar" // 不显示应用程序标题栏
android:theme="@android:sty...
分类:
移动开发 时间:
2014-07-19 23:14:09
阅读次数:
400
android:theme="@android:style/Theme.Dialog" 将一个Activity显示为能话框模式
android:theme="@android:style/Theme.NoTitleBar" 不显示应用程序标题栏
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 不显示应用程序标题栏,并全屏
and...
分类:
移动开发 时间:
2014-06-22 21:48:57
阅读次数:
248
?android:theme="@android:style/Theme.Dialog"
将一个Activity显示为能话框模式?android:theme="@android:style/Theme.NoTitleBar"
不显示应用程序标题栏?android:theme="@android:st...
分类:
移动开发 时间:
2014-05-28 22:30:15
阅读次数:
358