最近做的项目在华为手机上运行时,要去适配底部的虚拟导航栏。所以我先去监测是否有导航栏,有的话就测出导航栏的高度,再把底部的控件往上移。但是我的程序中虚拟导航栏的颜色的是半透明的(在土豆视频中是没有半透明效果的),并且隐藏导航栏时还存在半透明的黑色框。我想请教下大神们,我应该怎么做才可以让显示的导航栏不是半透明的,并且隐藏它的时候是完全隐藏的?
ringa_lee
This is what the user chooses to display or not. Why do you want to hide it? What is the adaptation?
You should not need to do any processing to achieve the effect of Tudou client, but you need to calculate the height. My guess is that when you set the status bar, you also set the navigation bar
This is what the user chooses to display or not. Why do you want to hide it? What is the adaptation?
You should not need to do any processing to achieve the effect of Tudou client, but you need to calculate the height. My guess is that when you set the status bar, you also set the navigation bar