简体   繁体   English

导航栏与底栏图标重叠

[英]Navigation bar overlaps with bottom bar icons

I am Android developer and dealing with Android Nougat (7.0) source code. 我是Android开发人员并处理Android Nougat(7.0)源代码。 I experienced kind of strange problem in Snapchat app. 我在Snapchat应用程序中遇到了一些奇怪的问题。 In the app, bottom bar icons overlap with the android navigation bar, so I can't use bottom bar icons in the app. 在应用程序中,底栏图标与Android导航栏重叠,因此我无法在应用程序中使用底栏图标。 I found this issue from different resources as well so I am confused whether this problem is in the app side or in the code base. 我也从不同的资源中发现了这个问题,所以我很困惑这个问题是在app端还是在代码库中。 Does anyone have any idea what can cause this problem? 有谁知道什么会导致这个问题?

在此输入图像描述

在styles.xml文件中添加此行

<item name="android:windowTranslucentNavigation">false</item>

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

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