简体   繁体   English

如何消除应用程序和手势导航栏之间的差距?

[英]how to remove gap between the app and gesture navigation bar?

There is a gap between the bottom of my app and the android 10's navigation bar.我的应用程序底部和 android 10 的导航栏之间有一个间隙。

This is how my app looks这就是我的应用程序的外观我的应用

I want that to look like the one below.我希望它看起来像下面的那个。 i want the black portion of the app to integrate with my app's white while the bar could be set to the colour grey.我希望应用程序的黑色部分与我的应用程序的白色集成,而条形可以设置为灰色。

所需效果

I'm on the latest android studio and my api level is at android 8 and above.我在最新的 android 工作室,我的 api 级别在 android 8 及以上。

I think you should modify your theme of the activity and put the navigation bar transparent我认为您应该修改活动的主题并将导航栏透明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM