JJSearchViewAnim
####A cool search view animation library ,I hope you like it.
###look
https://github.com/android-cjj/MaterialSearchView)###Usage
(1) In xml
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.cjj.jjsearchviewanim.MainActivity">
<com.cjj.sva.JJSearchView
android:id="@+id/jjsv"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</RelativeLayout>
(2) In java
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
JJSearchView mJJSearchView = (JJSearchView) findViewById(R.id.jjsv);
mJJSearchView.setController(new JJChangeArrowController());
}
(3) Setting
mJJSearchView.startAnim();
mJJSearchView.resetAnim();
####Thanks:
http://www.materialup.com/posts/search-0c73a055-dcc9-486f-8540-f9517204edf8
http://www.materialup.com/posts/search-bar-concept
http://www.materialup.com/posts/search-inspiration
http://www.materialup.com/posts/search
http://www.materialup.com/posts/search-input-focus-animation
http://www.materialup.com/posts/material-search
http://www.materialup.com/search?q=search
http://www.materialup.com/posts/css3-jquery-material-design-close-animation
####About me A low-level android software development engineer, like watching cartoons, like playing football, love life ! If you want to make friends with me, You can email tell me.Email address: cjjcjj2014@gmail.com.
License
The MIT License (MIT)
Copyright (c) 2016 android-cjj
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.