java - animate burger icon to arrow when searchview is open -


i have search view in menu items this:

<item android:id="@+id/action_search" android:title="search" android:icon="@drawable/abc_ic_search_api_mtrl_alpha" app:showasaction="ifroom|collapseactionview" app:actionviewclass="android.support.v7.widget.searchview" /> 

and navigation drawer in same activity.

i want animate burger icon arrow icon when search view open , animates burger when closed. how can that?

i've searched in stackoverflow , other sites navigation drawer.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -