MaterialSearchView

Introduction: Material Persistent SearchView library written in Kotlin with support of AndroidX.
More: Author   ReportBugs   
Tags:

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

Search

Donations

Please support me!

Paypal

Usage

minSdkVersion 21
targetSdkVersion 29

Add the dependency to your gradle file:

dependencies {
    implementation 'com.lapism.search:search: NOT RELEASED YET '
}

SearchView

val searchView = findViewById<SearchView>(R.id.searchView)

XML

        <com.lapism.search.widget.SearchView
            android:id="@+id/searchView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

XML attributes

        <attr name="search_navigation_icon_support" format="enum">
            <enum name="hamburger" value="100" />
            <enum name="arrow" value="101" />
            <enum name="animation" value="102" />
        </attr>

SearchMenuItem

val searchMenuItem = findViewById<SearchMenuItem>(R.id.searchMenuItem)

XML

        <com.lapism.search.widget.SearchMenuItem
            android:id="@+id/searchMenuItem"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

XML attributes

        <attr name="search_navigation_icon_support" format="enum">
            <enum name="hamburger" value="100" />
            <enum name="arrow" value="101" />
            <enum name="animation" value="102" />
        </attr>

Changelog

1.0.0-alpha07

  • Bugfixes

1.0.0-alpha06

  • Bugfixes

1.0.0-alpha05

  • First upload to repository

Author

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Apps
About Me
Google+: Trinea trinea
GitHub: Trinea