Chrome Custom Tabs change the default close button not working

前端 未结 7 583
清歌不尽
清歌不尽 2021-01-17 11:30

I am trying to change the default close button on the actionbar of the custom chrome tabs. I have tried to set using setCloseButtonIcon() However, the default c

7条回答
  •  感情败类
    2021-01-17 12:12

    why not you Add Image Asset and store in mipmap then it will be easier to use default icons inbuilt in android studio Assest Studio

    After Uploading You can easily access icons and image from mipmap in xml file using src resource in ImageView for an instant

    android:src="@mipmap/ic_launcher"
    

提交回复
热议问题