I am trying to open the Android sample project - Navigation Drawer in Android Studio, but got error while building it.
These are the steps to reproduce it:
You can certainly still define LayoutManagers and more via xml. Here's an example using the native GridLayoutManager:
If you want to use a custom LayoutManager follow the rules defined here:
R.attr.html#layoutManager