fitsSystemWindow作用
2015-08-17 15:33
274 查看
fitsSystemWindows
layout属性
英文文档注释为:
Boolean internal attribute to adjust view layout based on system windows such as the status bar. If true, adjusts the padding of this >view to leave space for the system windows. Will only take effect if this view is in a non-embedded activity.
经过具体实验,具体的作用就是你的contentview是否忽略actionbar,title,屏幕的底部虚拟按键,将整个屏幕当作可用的空间。
正常情况,contentview可用的空间是去除了actionbar,title,底部按键的空间后剩余的可用区域;这个属性设置为true,则忽略,false则不忽略
效果如下:
设置为true
设置为false
结束
相关文章推荐
- hdu 1166 敌兵布阵(树状数组)
- 如何设置div的宽度为100%-xx px?
- 简单的Java Socket示例
- Codeforces Round #316 (Div. 2) E. Pig and Palindromes (DP)
- C语言的冒泡排序和快速排序算法使用实例
- freemarker根据模板生成word文档,换行
- 消除jquery Mobile自动添加的样式
- Android绘制波浪曲线,效果很赞的。
- 定位锚平滑滚动jQuery代码
- 微软TechNet关于TLS的细节的描述
- 为什么程序员的业余项目大多都死了?
- 我为什么维护这个关于技术的博客
- iptables
- FrameLayout布局
- GXDialog 使用方法
- 拖尾飘带的优化实践
- vs 2012打开vs2013的sln
- 人心的距离
- 常见26个jquery使用技巧详解(比如禁止右键点击、隐藏文本框文字等)
- 关于 Core Location 的笔记