Navigation drawer in Android -


i know should in style sheet area this, when created new android app using android studio, has user logo , user information in green box. want edit.

first should ask them login if first time using app.

navigation drawer activity

but let's deal 1 thing @ time, , first me getting use google puts things.

if @ layout activiy find "navigationview", there 2 attributes there need "header" , "menu".

you can see in answer how.to views inside "header" file: https://stackoverflow.com/a/33631797/4017501

there alternative. "navigationview" viewgroup. can use such. delete thee "header" , "menu" attribute , add closing brackets if viewgroup:

<navigationview></navigationview> 

now can put fragment inside , find every view , handle logic fragment, more direct , customizable approach.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -