aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6592a96..596ac0e 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,7 @@ dependencies {
* [KPrefs](#kprefs)
* [KPref Items](#kpref-items)
* [Changelog XML](#changelog)
+* [Search View](#search-view)
* [Ripple Canvas](#ripple-canvas)
* [Timber Logger](#timber-logger)
* [Extensions](#extensions)
@@ -169,6 +170,21 @@ There is an optional `customize` argument to modify the builder before showing t
As mentioned, blank items will be ignored, so feel free to create a bunch of empty lines to facilitate updating the items in the future.
+<a name="search-view"></a>
+## Search View
+
+Kau contains a fully functional SearchView that can be added programmatically with one line.
+It contains the `bindSearchView` extension functions from both an activity or viewgroup.
+
+<img src="https://github.com/AllanWang/Storage-Hub/blob/master/kau/kau_search_view.gif">
+
+The search view is:
+* Fully themable - set the foreground or background color to style every portion, from text colors to backgrounds to ripples
+* Complete - binding the search view to a menu id will set the menu icon (if not previously set) and attach all the necessary listeners
+* Configurable - modify any portion of the inner Config class when binding the search view
+* Thread friendly - the search view is built with observables and emits values in a separate thread,
+which means that you don't have to worry about long processes in the text watcher. Likewise, all adapter changes are automatically done on the ui thread.
+
<a name="ripple-canvas"></a>
## Ripple Canvas