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 668 forks source link

closeMenu problem in 2.1.1 #273

Open nicomazz opened 7 years ago

nicomazz commented 7 years ago

version 2.1.1: searchView.closeMenu(false) did nothing

No code changes, version 2.0.1: searchView.closeMenu(false) menu correctly closed

<com.arlib.floatingsearchview.FloatingSearchView
            android:id="@+id/floating_search_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            app:floatingSearch_leftActionMode="showHome"
            app:floatingSearch_menu="@menu/menu_select_position"
            app:floatingSearch_searchBarMarginLeft="5dp"
            app:floatingSearch_searchBarMarginRight="5dp"
            app:floatingSearch_searchBarMarginTop="28dp"
            app:floatingSearch_searchHint="@string/directions"
            app:floatingSearch_showSearchKey="false"
            app:floatingSearch_showVoiceInput="true"
            app:floatingSearch_suggestionRightIconColor="@android:color/black"
            app:floatingSearch_suggestionsListAnimDuration="200"
            />