how to implement navigation drawer without action bar but opens the navigation screen with a button on main screen?

后端 未结 2 483
北恋
北恋 2021-01-14 13:08

navigation drawer app that have login screen on its left_drawer fragment (see link: how to show a activity(login screen) under android navigation drawer ), I want to open t

2条回答
  •  迷失自我
    2021-01-14 13:55

    You can use a Navigation Drawer. Very easy to implement and very professional looking. Instead of putting a listview in your Navigation Drawer just create another layout and inflate the layout when your Navigation Drawer is active. You can view information about a Navigation Drawer here.

    Your going to find many ways to have a slide out drawer. But your problem is going to be creating a custom layout and inflating it inside the Navigation Drawer.

    Best of luck to you!

提交回复
热议问题