floatingsearchview
floatingsearchview copied to clipboard
A search view that implements a floating search bar also known as persistent search
When implement floating searchview , searchview androidx change and do not show in layout and when use floating searchview crashed app .
Migrated to AndroidX Removed gson jar file
For home action clickListener method never gets called. ``` searchInputView.setOnHomeActionClickListener(new FloatingSearchView.OnHomeActionClickListener() { @Override public void onHomeClicked() { Log.d(TAG,"Home action clicked"); } }); ```
If I try to set programmatically the text with setSearchText method, the search don't start and suggestions aren't showed. It'a bug or setSearchText isn't the right way?
java.lang.ClassCastException: android.widget.FrameLayout cannot be cast to android.widget.ImageView
Getting this on two devices both are running 4.4.2. ``` Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp/com.myapp.view.MainActivity}: android.view.InflateException: Binary XML file line #75: Error inflating class com.arlib.floatingsearchview.FloatingSearchView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)...
I want to change menu icon in floatsearchview, for example: ```java floatingSearchView.setOnMenuItemClickListener(new FloatingSearchView.OnMenuItemClickListener() { @Override public void onActionMenuItemSelected(MenuItem item) { if(item.getItemId() == R.id.action_location) { if(locationEnabled) { item.setIcon(R.drawable.ic_action_location_disabled); locationEnabled = false;...
Looks broken when using RTL layout! :(
Instead of using a static Arraylist like : private static List sColorSuggestions = new ArrayList(Arrays.asList( new ColorSuggestion("green"), new ColorSuggestion("blue"), ....));' To use a list with the most recent searches as...