Android虚拟导航栏适配问题
ringa_lee
ringa_lee 2017-04-17 16:10:55
0
2
548

最近做的项目在华为手机上运行时,要去适配底部的虚拟导航栏。所以我先去监测是否有导航栏,有的话就测出导航栏的高度,再把底部的控件往上移。但是我的程序中虚拟导航栏的颜色的是半透明的(在土豆视频中是没有半透明效果的),并且隐藏导航栏时还存在半透明的黑色框。我想请教下大神们,我应该怎么做才可以让显示的导航栏不是半透明的,并且隐藏它的时候是完全隐藏的?

ringa_lee
ringa_lee

ringa_lee

reply all(2)
伊谢尔伦

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template