What is the ID of the back arrow drawable in the ActionBar?

后端 未结 3 1708

The following code causes a back arrow to appear in the ActionBar:

getSupportActionBar().setDisplayShowHomeEnabled(true);
getSupportActionBar().setDisplayHomeAsU         


        
3条回答
  •  时光取名叫无心
    2021-02-19 19:45

    You can easily create a back arrow using Android asset studio.

    Click on res folder and then right click on drawable -> New -> Vector Asset

提交回复
热议问题