【问题标题】:How to implement the Toolbar and Status bar of Google play store app in my app? [duplicate]如何在我的应用中实现 Google Play 商店应用的工具栏和状态栏? [复制]
【发布时间】:2017-12-22 20:17:44
【问题描述】:

如果您进入 Google Play 商店并打开应用程序的详细信息页面,则横幅图像甚至在状态栏后面都可见。如何在我的应用中实现相同的效果(图像进入状态栏)?

我在我的应用程序中尝试了以下布局 XML 代码,但它并没有使状态栏完全透明:

<item name="android:windowTranslucentStatus">true</item>

【问题讨论】:

    标签: android toolbar statusbar


    【解决方案1】:

    我认为这个问题与这个问题基本相同:Lollipop : draw behind statusBar with its color set to transparent 并且那里有一些很好的答案。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-17
      • 2016-03-19
      • 2014-06-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多