Why won't androidx support the navigation bar?

前端 未结 3 740
长情又很酷
长情又很酷 2021-01-28 12:47

So I\'m trying to get a navigation drawer done using this tutorial (https://www.youtube.com/watch?v=fGcMLu1GJEc&t=16s) however, I undersetand that something has changed in A

3条回答
  •  长情又很酷
    2021-01-28 13:33

    The error says you are using the drawer layout from support compat you have to use the material drawer layout

    Here is how to add the library

    https://material.io/develop/android/docs/getting-started/

    Here is how to add the drawer

    https://material.io/develop/android/components/navigation-view/

提交回复
热议问题