Skip to content

koala0x/CutoutScreenAdapter

Repository files navigation

刘海屏适配Demo

  • utils中的工具类用来判断在8.0系统中,刘海屏是否存在以及获取刘海屏大小等方法.
  • FullScreenActivity_9: 9.0系统,全屏下对刘海屏的适配
  • StateBarScreenActivity_9: 9.0系统,非全屏存在状态栏下对刘海屏的适配
  • FullScreenActivity_8: 8.0系统,全屏下对刘海屏的适配
  • StateBarScreenActivity_8: 8.0系统,非全屏存在状态栏下对刘海屏的适配
  • StateBarColorActivity: 为状态栏设置颜色,兼容5.0 6.0 7.0 8.0 9.0

About

刘海屏适配Demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages