First, create a new empty project with “API 28” or “API P” as the min SDK level. Next, open “activity_main.xml” in design
Next, choosing any of the following M2 components from the palette, should offer to add the material library to the project (hit cancel every time):
Next, Add one of the above components to activity_main.xml Next, change the AppTheme to “Theme.MaterialComponents” in values/styles.xml
Next, drop a “Button” on activity_main.xml
First, create a new empty project with “API 28” or “API P” as the min SDK level. Next, open “activity_main.xml” in design Next, In project structure dialog: Add a dependency on “com.android.support:design”
Next, choosing any of the following components from the palette, should NOT offer to add the material library to the project:
None of the following components should be available on the palette: