Error 'No resource identifier found' with Android sample project

后端 未结 4 2181
暗喜
暗喜 2021-02-19 01:48

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:

4条回答
  •  天涯浪人
    2021-02-19 02:42

    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

提交回复
热议问题