dribbble. The effect of this control is an implementation address on dribbble
gist, someone posted the implementation of android 5.0, parse the vector diagram and then implement the path animation. The address is here , Of course, below 5.0 is definitely possible. This control is implemented in
2.3+ : The
quality of avi to gif is not very good, let's make do with it
. Use :
<org.liuyichen.dribsearch.DribSearchView android:id="@+id/dribSearchView" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingTop="18dp" android:paddingBottom="18dp" app:breadth="2" app:search_color="#fff"/> dribSearchView = (DribSearchView) findViewById(R.id.dribSearchView); dribSearchView.changeLine(); dribSearchView.changeSearch();
Project address: https://github.com/supengchao/AndroidBeautifulSearch