java - Android NavigationDrawerFragment layout appears in the fragments -


i programming application in android studio , decided use navigationdraweractivity main screen activity. automatically, android srudio creates 2 .java classes (main.java navigationdraweractivity.java) , 3 layouts.

my problemis: when want put button in main screen (where navigation drawer can opened, of course), other fragments accessed navigation drawer have button of main activity. mean, layout of main activity doesný dissappear fragments!

what can do?

thank much!


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -