4
in the briefcase drawable
create a new xml file with this code:
<?xml version="1.0" encoding="UTF-8"?>
<shape android:shape="rectangle"
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#00ffffff" /> // Cor de fundo
<stroke android:width="1.0dip" android:color="#ffd4d4d4" /> // tamanho e cor da borda
<corners android:topLeftRadius="5.0dip" android:topRightRadius="5.0dip" android:bottomLeftRadius="5.0dip" android:bottomRightRadius="5.0dip" /> // Radius da borda
</shape>
And in his EditText
add the xml that Voce created as background:
android:background="@drawable/seu_xml"
Alias, app:civ_border_width="1dp"
can only be used with the library CircleImageView
(Civ is the abbreviation).
Look at the error you made:
Error:Execution failed for task ':app:mergeDebugResources'.
> org.xml.sax.SAXParseException; systemId: file:/C:/Projetos/Decorus/app/src/main/res/drawable/translucid.xml; lineNumber: 1; columnNumber: 44; O destino da instrução de processamento correspondente "[xX][mM][lL]" não é permitido.
– Artur Mafezzoli Júnior
I edited the answer.
– Bruno Romualdo