【问题标题】:Can we implement collapsing Toolbar behaviour in Bottom Appbar?我们可以在底部应用栏中实现折叠工具栏的行为吗?
【发布时间】:2018-12-05 13:22:07
【问题描述】:

我们如何在底部应用栏中实现折叠工具栏行为?有可能吗?

【问题讨论】:

    标签: android kotlin android-collapsingtoolbarlayout android-bottomappbar


    【解决方案1】:

    旁注:这个问题太宽泛,无法在此考虑。他们最好在 Google 上搜索。

    但是,要回答您的问题:是的,如果您愿意,您可以这样做,但几乎没有理由这样做。它违背了材料设计原则,没有内置组件来实现这一点(所以你必须制作你的自定义视图),它也会让用户感到困惑,因为这不是在任何地方都能看到的设计安卓。

    您最好使用Bottom app bar with a navigation drawer(从底部而不是侧面向上拉)。

    【讨论】:

      猜你喜欢
      • 2019-11-11
      • 1970-01-01
      • 1970-01-01
      • 2016-10-01
      • 2016-05-11
      • 1970-01-01
      • 2018-07-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多