How can i remove the underline as shown in the picture? Setting it to transparent or changing background does not help.
Already tried these solutions: How to remove white underline in a SearchView widget in Toolbar Android
Both changing style to actionbar-searchview and programmaticly. Problem with changing querybackground is that it will ignore the drawable background i have already set.
<SearchView
android:id="@+id/searchViewBar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/rounded_corner"
android:focusable="true"
android:queryHint=" "
/>