Hi i am trying to make rectangular Edit-text style like below image for this i used below code but its not showing Edit-text like my below image can some one help me please
rect_text_edit:-
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:padding="10dp"
android:shape="rectangle">
<solid android:color="#FFFFFF" />
<corners
android:bottomLeftRadius="5dp"
android:bottomRightRadius="5dp"
android:topLeftRadius="5dp"
android:topRightRadius="5dp"/>
</shape>
login.xml:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/layout_padding"
android:orientation="vertical">
<EditText
android:id="@+id/searchBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/rect_text_edit"
android:textColor="@color/black"
android:textCursorDrawable="@null"
android:singleLine="true"
android:padding="10dp">
</EditText>
</LinearLayout>
</RelativeLayout>