Material Design Search component for Android
- Last Material Design
- Persistent search
- Expandable search
- Styling
- AndroidX
- Kotlin
Material Design pattern:
https://material.io/design/navigation/search.html
Versions history:
https://bintray.com/lapism/search/search
Please support me!
minSdkVersion 21
targetSdkVersion 29
Add the dependency to your gradle file:
dependencies {
implementation 'com.lapism.search:search:1.0.0-alpha08'
}
val searchView = findViewById<SearchView>(R.id.searchView)
<com.lapism.search.widget.SearchView
android:id="@+id/searchView"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<attr name="search_navigation_icon_support" format="enum">
<enum name="hamburger" value="100" />
<enum name="arrow" value="101" />
<enum name="animation" value="102" />
</attr>
val searchMenuItem = findViewById<SearchMenuItem>(R.id.searchMenuItem)
<com.lapism.search.widget.SearchMenuItem
android:id="@+id/searchMenuItem"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<attr name="search_navigation_icon_support" format="enum">
<enum name="hamburger" value="100" />
<enum name="arrow" value="101" />
<enum name="animation" value="102" />
</attr>
1.0.0-alpha08
- Dependency is released on Bintray
- Improved animations
1.0.0-alpha07
- Bugfixes
1.0.0-alpha06
- Bugfixes
1.0.0-alpha05
- First upload to repository
- Martin Lapiš - GitHub
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.