码迷,mamicode.com
首页 >  
搜索关键字:notitlebar    ( 52个结果
android 取消标题,程序意外停止
取消标题方法:(在application中设置属性) android:theme="@android:style/Theme.Light.NoTitleBar" ????2. ? 在Activity中增加: this.requestWindowFeature(Window.FEATURE_NO_TITLE); 但是问题来了,两...
分类:移动开发   时间:2015-11-11 10:10:22    阅读次数:232
Activity设置全屏的三种方法
1.super.onCreate(savedInstanceState)方法之前调用: setTheme(android.R.style.Theme_Light_NoTitleBar_Fullscreen); 2.setContentView(R.layout.xxx)之前调用: requestWi...
分类:其他好文   时间:2015-10-29 13:00:26    阅读次数:287
Android隐藏状态栏和标题栏,相当于全屏效果
隐藏标题栏需要使用预定义样式:android:theme=”@android:style/Theme.NoTitleBar”.隐藏状态栏:android:theme=”@android:style/Theme.NoTitleBar.Fullscreen”.
分类:移动开发   时间:2015-09-17 17:27:51    阅读次数:152
Android应用开发欢迎界面不想显示最上面的LOGO
在清单中设置application的属性android:theme="@android:style/Theme.NoTitleBar"
分类:移动开发   时间:2015-07-31 18:01:56    阅读次数:131
【Android】getActionBar()为null的解决方法总结
前言在使用 ActionBar的时候,有时候会爆出空指针异常,这是因为应用没有获取到 ActionBar 导致的,而导致应用没有获取到 ActionBar 的原因比较多,所以我们下面就来总结一下 ActionBar 获取不到的错误原因。解决办法 检查你的应用是否设置了没有 ActionBar 的主题Theme,或者直接设置了 NoActionBar或NoTitleBar 属性,主要要检查这几点:检查...
分类:移动开发   时间:2015-07-28 16:03:52    阅读次数:149
Android实现隐藏状态栏和标题栏
隐藏标题栏需要使用预定义样式:android:theme=”@android:style/Theme.NoTitleBar”. 隐藏状态栏:android:theme=”@android:style/Theme.NoTitleBar.Fullscreen”. ...
分类:移动开发   时间:2015-07-15 14:50:34    阅读次数:117
解决安卓manifest中的application标签中@android:style/Theme.NoTitleBar崩溃的问题
在安卓的activity创建的时候一般会有台头就是label首先是如何去掉的问题。 例如红色框框中的这个就是自带的label。 有两种方法: 一在mainfest的application标签中添加android:theme"@android:style/Theme.NoTitleBar"。这是第一个。 二就是在每一个。java文件的oncreate的开头添加 this.request...
分类:移动开发   时间:2015-07-13 14:08:11    阅读次数:179
解决activity加上Theme.Translucent.NoTitleBar 页面跳转显示桌面
自定义style 继承Theme.Translucent.NoTitleBar 在配置文件中给activity设置这个theme,可以解决有时候会突然看到桌面的问题。
分类:其他好文   时间:2015-07-02 19:12:03    阅读次数:167
Android自带的theme
android:theme="@android:style/Theme.Dialog" 将一个Activity显示为能话框模式android:theme="@android:style/Theme.NoTitleBar" 不显示应用程序标题栏android:theme="@android:style...
分类:移动开发   时间:2015-05-11 19:52:48    阅读次数:150
android不要全屏保留状态栏
AndroidMainfest.xml: android:theme="@android:style/Theme.NoTitleBar"
分类:移动开发   时间:2015-04-23 15:55:33    阅读次数:306
52条   上一页 1 2 3 4 5 6 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!