How to Create Navigation Drawer Using Android Design Support Library?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: In google developer blog post . I read about new way to create navigation drawer using new dependency called compile 'com.android.support:design:22.2.0' but I didn’t found exact way to create navigation drawer using this new dependency. In build.gradle , I have added dependency compile 'com.android.support:design:22.2.0' compile 'com.android.support:appcompat-v7:22.0.0' in layout file added following code (based on google blog post) <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app=