简体   繁体   中英

How to create Navigation drawer using <material:1.3.0>

I want to make a Navigation drawer using <implementation 'com.google.android.material:material:1.3.0'> in android studio. in fact when I use <implementation 'com.google.android.material:material:1.3.0'>, I get the error in in the below image:

enter image description here

but according to some instruction in StackOverFlow like in the below link:

how to solve render problem Path.op() not supported?

I decided to use com.google.android.material:material:1.2.0-alpha02 version in build.gradle. but I think this cause some other problem. for example in the below link:

Binary XML file line #9: Binary XML file line #9: Error inflating class com.google.android.material.slider.Slider

when we use com.google.android.material:material:1.2.0-alpha02, we have problem in executing some object like Slider.so can someone give a solution for this problem? can someone make a Navigation drawer using material:1.3.0 version?

My problem solved. but at the first, I have to migrate to androidX. after that, no randering error get appeared in the navigation drawer's layout when using material:1.3.0 in Build.gradle.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM