arimorty / floatingsearchview

A search view that implements a floating search bar also known as persistent search
https://github.com/arimorty/floatingsearchview/blob/master/README.md
Apache License 2.0
3.54k stars 667 forks source link

Clear button visible always? #284

Open amaslanka opened 7 years ago

amaslanka commented 7 years ago

Is it possible to make "clear" button not to hide when search view losts focus? Of course only when there is any query typed.

It might be a bit annoying when user just wants to clear the search query and he must first click the search view and then the clear button...

krisek101 commented 7 years ago

Change or remove the 1510. line in FloatingSearchView.java: https://github.com/arimorty/floatingsearchview/blob/master/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L1510