Skip to content
Material Design Search component for Android
Kotlin
Branch: master
Clone or download
Latest commit c1cd5b3 Oct 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images Images added Sep 16, 2019
src/main 1.0.0-alpha07 Oct 8, 2019
.gitignore 1.0.0-alpha02 Sep 8, 2019
LICENSE 1.0.0-alpha02 Sep 8, 2019
README.md 1.0.0-alpha07 Oct 8, 2019
build.gradle 1.0.0-alpha07 Oct 8, 2019
consumer-rules.pro 1.0.0-alpha02 Sep 8, 2019
proguard-rules.pro 1.0.0-alpha02 Sep 8, 2019
search.iml Animation fix Sep 26, 2019

README.md

Search

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.

You can’t perform that action at this time.