show hamburger button on my toolbar though I've called
Toolbar toolbar = (Toolbar) findViewById(R.id.myToolbar);
setSupportActionBar(toolbar);
getSupportActionBar().setHomeButtonEnabled(true);
but it does set title to what I say and it shows home as up
It's odd that i've done same things in this activity and my main activity but main activity works great 😐
I read some answers in stackoverflow which says enable home as up button , change the icon and change the functionality but I think it's dirty code 😬
Any idea where the problem might be?
Solved: The problem was drawer toggle. I didnt call syncState()
Обсуждают сегодня