title: Android custom layout for search widget
body: <p>I want to have a search field in my actionbar in my Android app. I can do it without difficulty with default design. but I want to have the attached image design for my search bar. Is there any way to have a custom design for my search field?<br/>
  I want to to be like the left image and when clicked , turn into the right image with a simple animation.<br/>
  Thanks very much<br/><br/>
  <img src="https://i.stack.imgur.com/72QpW.jpg" alt="enter image description here"></p>