简体   繁体   中英

How can I make stylish xml layout design when using Scrolling View for xml layout?

I'm using the library called simple-side-drawer
This enables `DrawerLayout' for any version which is supported only at API Level 18 or higher.

I downloaded demo from the page and tried to make stylish layout by customizing right_behind_menu_simple.xml
However, it always returns error and won't show stylish layout even if I copy and pasted example to it.

The error is always related to something about <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"

I'd like to make Menu just like this. How can I? Can anyone download demo and show me what to do with right_behind_menu_simple.xml and its style.xml ?
It'll be appreciatable, if you could upload example project.
Thanks!

在此处输入图片说明

对于api 18或更高版本,您应该使用Navigation Drawer而不是第三方库,为此使用官方文档: Navigation Drawer

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