fitsSystemWindows

Added in API level 1
int fitsSystemWindows
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.
Must be a boolean value, either "true" or "false".This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

将该属性设置为true,可不再受actionbar(toolbar),statuebar,底部虚拟键等的限制,将contentView扩展到系统屏幕整个界面.

更多相关文章

  1. Android:AsyncTask
  2. Android权限管理解析
  3. AndroidManifest.xml简单解析
  4. ConstraintLayout约束布局属性
  5. 【Android(安卓)电量优化】电量优化特性 ( Doze 低电耗模式 | St
  6. 解决Android启动显示空白界面的问题,自定义进入软件前的背景图片
  7. Android之自定义最简单的竖向引导页
  8. Android(安卓)init进程--属性服务器
  9. Android(安卓)利用ViewPager+GridView,仿美团首页导航栏分类布局

随机推荐

  1. Android(安卓)迁移到AndroidX的实现
  2. Android(安卓)slidingmenu详解 优化侧滑
  3. Android设置“android:clickable="false"
  4. 自定义一个dialog没有标题
  5. Android(安卓)TransitionManager源码解析
  6. 开源 android 文件管理器
  7. 查看安卓系统是否卡开了可调试debuggable
  8. android sdk manager Failed to fetch UR
  9. Android个人手机通讯录开发详解
  10. ANDROID包管理服务机制 .