How to remove v7 toolbar back button [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago . I need to delete this v7 toolbar from my activity: Please Help me ! 回答1: If you are using v7 Toolbar you can remove this button with this code : if (getSupportActionBar() != null) { ActionBar actionBar = getSupportActionBar(); actionBar.setDisplayHomeAsUpEnabled(false); } you can read android here