【问题标题】:Rounded content below ActionBarActionBar 下方的圆角内容
【发布时间】:2020-08-25 20:42:16
【问题描述】:

我最近在观看有关 Material Components 的 Android 开发者峰会视频 (https://www.youtube.com/watch?v=DPH3F0v1jB0),我注意到他们通过示例电子邮件应用程序展示了一些很酷的东西。 Material 组件中是否内置了一些东西来实现操作栏下方的圆形内容?我知道的唯一方法是使用形状等,但它会在滚动时切入内容。

【问题讨论】:

  • 它被称为Backdrop:material.io/components/backdrop您需要自己实现它或使用其中一个库(您可以在GitHub上轻松找到它们),因为没有官方组件。
  • 使用圆角容器即可。例如,只有顶部 corners rounded 的卡片视图或带有 rounded corners 的 LinearLayout。

标签: android android-layout material-design


【解决方案1】:

正如 OMIsie11 所说,有问题的元素是 https://material.io/components/backdrop

【讨论】:

    猜你喜欢
    • 2013-05-15
    • 2017-12-30
    • 2010-09-24
    • 1970-01-01
    • 1970-01-01
    • 2014-06-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多