Status bar overlaps toolbar

爱⌒轻易说出口 提交于 2019-12-11 02:55:55

问题


I have an app that is largely finished. It uses a toolBar on the top of the view with a few buttons. Under this is a WebView, which only opens one URL and there is no way to get away from this site (that is the point of it).

However, the status bar overlaps the toolbar. My initial temporary solution is to hide the status bar, but I really need it to be there in this app. How can I stop this overlap from happening


回答1:


Try to put the toolbar's origin as (0, 20) instead of (0, 0).



来源:https://stackoverflow.com/questions/2854007/status-bar-overlaps-toolbar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!