Android Studio,试图隐藏 TabLayout、StatusBar、SupportActionBar 和未知栏?

2024-01-30

So at the click of a button I want to hide all bars on top of screen, to disappear. At another click of button I want them all to reappear again. I successfully did that and have the following bars to hide on button click: Status Bar, TabLayout tab fragments, Support Action Bar. Here's what I have.enter image description here

当我单击“开始”按钮 ^ 时,顶部的所有这些栏都会隐藏。但只剩下1个了……

我尝试隐藏“getActionBar”,但剩下的栏不是它。

根据我的 styles.xml,当我更改“ColorPrimaryDark”的颜色时,这就是剩下的栏:

我尝试隐藏 PopupOverlay 和 AppBarOverlay,但什么也没得到。

这是我的 XML 文件:

那么剩下的这个神秘的酒吧会是什么呢?我不是要代码,我只是想看看是否有人知道剩下的是什么?


None

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Android Studio,试图隐藏 TabLayout、StatusBar、SupportActionBar 和未知栏? 的相关文章

随机推荐