Material Design Components Site
T

2

6

Today I was Googling for "material design components" I ended up at this site:

https://material.io/components/

As I remember, I've never seen it before.

In the Android section there are instruction to use the components and ok, it seems to be the well-known Android Design Support Library:

Screenshot of dependencies

But what intrigues me is that there are components there that are not in the design library, such as:

Back Layer Layout, Material Card and Material Button.

The docs for these classes seems to be not ready yet and the links points to nowhere, like: material button doc.

There is something in the github site.

Sorry for ignorance, but what is the purpose of this site? Is it something future or something left behind?

Tolerate answered 10/4, 2018 at 2:40 Comment(0)
N
8

The Android Design Support Library was the precursor of the Material Design Components. As of the Support Library 28.0.0-alpha1 release, the Design Library now contains all of the new components introduced in the 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

While the 28.0.0-alpha1 release does contain all of the new classes, the documentation on developer.android.com does not yet contain the updates from the Design Library (keeping the docs effectively on what was publically available previously), but they are definitely there if you use that dependency.

Neuberger answered 10/4, 2018 at 5:8 Comment(2)
Is there anything publicly written about where all this is going? For example, is the Design Support Library being discontinued, with Material Design Components getting its own artifact?Cartesian
@Cartesian - no, but expect more to come at I/O 2018.Neuberger
E
2

The support libraries are now available through Google's Maven repository. We no longer support downloading the libraries through the SDK Manager, and that functionality will be removed soon..

as the Support Library Setup says. And this repository and material library within it will be offical to use.

Latest dependencies to use material components is:

com.google.android.material:material:1.0.0-alpha1

Getting started with Material Components for Android will help you to setup your project.

Extended answered 9/5, 2018 at 14:16 Comment(2)
Has it port to Xamarin? Thank you.Burgwell
You should add a warning from the Getting started page (material.io/develop/android/docs/getting-started) that says not use the com.android.support and com.google.android.material dependencies in an app at the same timeAmimia

© 2022 - 2024 — McMap. All rights reserved.