Changing Material Components style attributes fails
I have just checked the documentation and the items you used. It seems like it is still not added to the Theme.MaterialComponents
nor it doesn't work with that theme.
(got the Not found error (by using Theme.MaterialComponents
) too)
The interesting part is, I believe it should work with parent="Theme.AppCompat"
since they said it is for the test to see how it works:
You can also incrementally test new Material components without changing your app theme. This allows you to keep your existing layouts looking and behaving the same, while introducing new components to your layout one at a time.
Read: AppCompat Themes
It looks like 1.1.0 (currently in alpha) has resolved this issue:
implementation 'com.google.android.material:material:1.1.0-alpha09'