I added 'android.support.design' library as a dependency in my project
but the following error was found.
No resource identifier found for attribute 'layoutManager' in package 'android.support.design'
What I have done so far..
Please help.
The design library depends on appcompat-v7 library as pointed out in xcesco`s answer. But (at least in rev. 23.1) it depends on v7-recyclerview library as well.
So basically you have two options:
app:layoutManager="android.support.v7.widget.LinearLayoutManager"
in the
..design\res\layout\design_navigation_menu.xml
file. (If you are not using NavigationMenu from the design library, or hoping to fix this issue later)Thanks for making this clear in the docs Google!
To use android.support.design add this as gradle dependency:
compile 'com.android.support:design:22.2.1'
And you are good to go....
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With