0
Hello! I wanted to add borders inside my Edittext, however, what is typed is well glued with the outline. I want to put a kind of padding or margin to give distance between the edge and the text.
Code of form:
<size
android:height="40dp" />
<stroke
android:color="#000"
android:width="0.5dp"/>
Edittext code:
<EditText
android:background="@drawable/shape"
android:id="@+id/editTextTextPersonName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginLeft="19dp"
android:layout_marginRight="29dp"
android:inputType="textPersonName"
android:hint="Digite seu nome" />
How are you:
It worked, thank you!!
– Lisandra Ferraz