diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-26 19:33:48 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-26 19:33:48 -0700 |
commit | c46fb11e0a8297b1ff7caec722488218e3834ac9 (patch) | |
tree | ec76911b4ee98cfad69229fa23068b0a92e51450 /README.md | |
parent | 49c86236f2df05e2082826296f12c911230eb6a1 (diff) | |
download | kau-c46fb11e0a8297b1ff7caec722488218e3834ac9.tar.gz kau-c46fb11e0a8297b1ff7caec722488218e3834ac9.tar.bz2 kau-c46fb11e0a8297b1ff7caec722488218e3834ac9.zip |
Add searchview to readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 |