####A cool search view animation library ,I hope you like it.
###look
###Usage
- Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the dependency
dependencies {
compile 'com.github.mohsen-dl:JJSearchViewAnim:1.0.0'
}
<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>
@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());
}
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: [email protected].
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.