How do I get rid of the back arrow on my android toolbar?

How do I get rid of the back arrow on my android toolbar?
Answer
getActionBar(). setDisplayShowHomeEnabled(false); //disable back button getActionBar(). setHomeButtonEnabled(false); In a older android phone, the back button is removed with these two code lines.
 

Tìm kiếm

Back
Top