

Material Components for Android is under active development. This is as simple as adding a single Gradle dependency to your app/module adle file: implementation ":material:$material_version " Given that the Theme.MaterialComponents themes extend the pre-existing Theme.AppCompat variants, they inherit all of their attributes (think colorAccent, colorControlNormal, etc.), which will not be covered. This article will only cover the new global theme attributes and per-widget style attributes that are introduced. In either case, the core widgets you incorporate into your app now mostly fall under the package and bring with them a variety of new theme/style attributes. Alternatively, perhaps you’re in the fortunate situation of starting an app from scratch and get to use these new libraries right away. So, you’ve migrated your Android app to AndroidX and, in the process, have also switched to using Material Components for Android as opposed to the Design Support Library.
