prefix.Android.support vs prefix.Android.Material

I recently migrated my project to android material 1.0.0 from android.support.design. Almost everything is pretty straightforward, except for one small detail.

Resource names in the material library are exactly the same as the support design library but their prefixes are different. Some lucky guesses would be enough but no harm to document it here. It is going to be so short. Here we go.

The support design library prefix;

android.support.design.R.dimen.something_you_know

The material library prefix;

com.google.android.material.R.dimen.something_you_know

Happy migrations. 🎣

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store