Android - How to implement a NavigationDrawer that is partially visible at all times?

前端 未结 3 1346
甜味超标
甜味超标 2020-12-18 07:28

I would like to have a NavigationDrawer in my Android project that shows the ListView partially at all times, and the items are also clickable, but when the user drags the d

3条回答
  •  星月不相逢
    2020-12-18 08:11

    I would recommend that you use two overlapping fragments for this scenario. You can look at http://developer.android.com/guide/practices/tablets-and-handsets.html and http://developer.android.com/guide/components/fragments.html for guides.

    If you have any more specific queries let me know.

提交回复
热议问题