【问题标题】:some attributes from material design missing in bottom sheets底部表格中缺少材料设计的一些属性
【发布时间】:2019-11-05 01:47:21
【问题描述】:

所以我想在我的应用程序中添加底部表格并查看材料设计步骤,但问题是我无法添加 app:behavior_hideable、a​​pp:behavior_peekHeight 等属性。 我也查看了其他代码,但没有找到任何解决方案。

实现'androidx.appcompat:appcompat:1.1.0-beta05'

实现'com.google.android.material:material:1.1.0-alpha07'

我已经包含了目前可用的最新依赖项。 仍然没有任何积极的突破。

【问题讨论】:

    标签: android android-layout material-design android-appcompat


    【解决方案1】:

    我认为不知何故 android studio 没有自动检测这些属性。

    所以,幸运的是,我尝试从 Material design 网站 (https://material.io/develop/android/components/bottom-sheet-behavior/) 复制粘贴这些属性,这似乎工作得很好。

    希望这也适用于您。

    【讨论】:

      猜你喜欢
      • 2015-05-19
      • 2019-11-30
      • 2023-04-10
      • 2019-01-29
      • 2015-10-03
      • 1970-01-01
      • 2015-10-18
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多