I have layout search.xml like this
<SearchView
                android:layout_margin="@dimen/size_8"
                android:iconifiedByDefault="false" // <--- always expand
                android:id="@+id/searchView"
                android:layout_width="match_parent"
                android:background="#fff"
                android:queryHint="@string/search"
                android:layoutDirection="rtl"
                android:layout_height="wrap_content"
                />
result :

I want to change search icon to right like picture bellow
 
 
How achieve like I want? Thanks.
<android.support.v7.widget.SearchView
   android:id="@+id/searchView"
   android:layout_width="match_parent"
   android:layout_height="wrap_content"
   android:clickable="true"
   android:layout_marginEnd="@dimen/_20sdp"
   android:layoutDirection="rtl"/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With