5 Android9.0开发笔记/屏蔽状态栏和导航栏

33 次浏览

path: <source>/frameworks/base/core/res/res/values/dimens.xml
(1)将status_bar_height的值改为0dp

<!-- Height of the status bar -->
<!-- edited by peng, status_bar_height @dimen/status_bar_height_portrait to 0dp -->
<dimen name="status_bar_height">0dp</dimen>

发表评论

您的邮箱地址不会被公开。 必填项已用 * 标注

滚动至顶部