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.
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
Post a Comment