android – Material Design Components站点

前端之家收集整理的这篇文章主要介绍了android – Material Design Components站点前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
今天我谷歌搜索“材料设计组件”我最终在这个网站:

https://material.io/components/

我记得,我以前从未见过它.

Android section中有使用组件的说明,好吧,它似乎是着名的Android设计支持库:

但令我感兴趣的是,那里有组件不在设计库中,例如:

Back Layer Layout,Material CardMaterial Button.

这些类的文档似乎还没有准备好,链接指向无处,如:material button doc.

github site有一些东西.

抱歉无知,但这个网站的目的是什么?这是未来还是留下的东西?

解决方法

Android设计支持库是Material Design Components的前身.截至 Support Library 28.0.0-alpha1 release,设计库现在包含Material Design Components中引入的所有新组件:

We’ve introduced a new application theme,Theme.MaterialComponents,with new attributes and updated styles for components.

We’ve added the following components:

  • BottomAppBar
  • Chip
  • ChipGroup
  • MaterialButton
  • MaterialCardView

虽然28.0.0-alpha1版本确实包含了所有新类,但developer.android.com上的文档尚未包含设计库中的更新(将文档有效地保存在以前公开可用的文档上),但它们是如果你使用那种依赖,肯定会有.

原文链接:https://www.f2er.com/android/308842.html

猜你在找的Android相关文章