Searchview Positions When Expanded In Actionbar
1.how can i get SearchView left,right,bottom,.. positions when it is expanded in Action Bar,and i am getting the values in normal position. 2.how can give my list of words as searc
Solution 1:
You can use android:layout_centerInParent="true"
to put searchview in center
<item android:id="@+id/action_search"
android:layout_centerInParent="true"
android:actionViewClass="android.widget.SearchView"
android:icon="@drawable/search_main"
android:iconifiedByDefault="false"
android:title="Search"/>
Post a Comment for "Searchview Positions When Expanded In Actionbar"