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上的文档尚未包含设计库中的更新(将文档有效地保存在以前公开可用的文档上),但它们是如果你使用那种依赖,肯定会有.

相关文章

Android性能优化——之控件的优化 前面讲了图像的优化,接下...
前言 上一篇已经讲了如何实现textView中粗字体效果,里面主要...
最近项目重构,涉及到了数据库和文件下载,发现GreenDao这个...
WebView加载页面的两种方式 一、加载网络页面 加载网络页面,...
给APP全局设置字体主要分为两个方面来介绍 一、给原生界面设...
前言 最近UI大牛出了一版新的效果图,按照IOS的效果做的,页...