I want to make a searchview
with rounded bordered for my android application.
So far i made rounded border with white background but search icon and cancel icon disappear and no text showing when type.
i have changed icon color to black and text color to black nothing shows.
how can i achieve that like image here https://i.stack.imgur.com/ZJTdA.jpg
So far here is my code
searchview_rounded.xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ffffff"/>
<corners android:radius="30dp"/>
<padding android:left="30dp"
android:bottom="30dp"
android:right="30dp"
android:top="30dp"/>
</shape>
layout
<SearchView
android:id="@+id/searchView"
android:padding="5dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:iconifiedByDefault="false"
android:queryHint="Search"
android:layout_centerHorizontal="true"
android:background="@drawable/sechview_rounded"
/>