FITSSYSTEMWINDOW作用
2016-01-04 11:10
288 查看
(转载)http://www.cnphp6.com/archives/104832
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
结束
相关文章推荐
- java集合中:set与list相互转换
- 字符串处理
- eclipse 启动失败(找不到jvm)
- Java API —— 多线程
- thinphp的字母方法
- Caffe 深度学习框架上手教程
- 安卓的相对布局
- 开源控件学习之-CircleImageView
- 神经网格
- javascript进击(五)JS对象
- oracle 开发 第01章 简介
- 粒子滤波的鼠标跟踪
- 记录一次Bug修改__数据库连接不关闭引发的bug
- POI操作Excel常用方法总结
- webrtc下载地址
- 2015年年终总结
- 如何获取StatusBar的高度(Android平台)
- IOSc程序中按钮点击不灵敏 ios
- 快速搭建TC(网络验证)注册码系统
- Android编程之监听器用法实例分析