prefix.Android.support vs prefix.Android.Material

efe budak
1 min readNov 19, 2018

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. 🎣

--

--