[Solved] How to put a border in an EditText? [duplicate]


just try this one,

first create one XML file, inside drawable folder (use new drawable xml) and add this lines

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"/>      
<solid android:color="#000000"/>
<stroke
    android:color="#ffffff"
    android:width="05dp"/>
<corners android:radius="20dp"/>

then add this line inside Your edittext property

android:background="@drawable/(file_name)"

i don’t know what your expecting, maybe it will help you

solved How to put a border in an EditText? [duplicate]