Hello, several EditText and a Label that have the same height, font, size, etc. are displayed well in a Label and are displayed badly (cropped) in the EditText.
Both have a background to put rounded corners with this code.
How can I fix this?
Thanks.
Both have a background to put rounded corners with this code.
How can I fix this?
Thanks.
B4X:
Sub Redondear ( iClrFondo As Int ) As ColorDrawable
Dim cd As ColorDrawable
Dim clrFondo As Int
'
If iClrFondo=0 Then
clrFondo = globales.iColorCelesteMedio
Else
clrFondo = iClrFondo
End If
Dim const clrBorde As Int = globales.iColorCelesteOscuro
'
cd.Initialize2(clrFondo,16dip,1dip,clrBorde)
'
Return cd
End Sub