Search code examples
androidsearchview

how to add button left to cross sign in search view android


I want this design.

enter image description here

how to add button left to cross sign ??


Solution

  • In your toolbar.xml, take one imageview and simply add this arrow image, set the margin and you are done.

    If you want to make it clickable then do it programatically.