Hi,
I am setting properties of EditText in code module. Calling in Activity_Create.
Inititally formatting is ok, but as soon as focus comes to EditText its border reduces.
Can anyone pls give some clue.
Thanks
Juzer
I am setting properties of EditText in code module. Calling in Activity_Create.
Inititally formatting is ok, but as soon as focus comes to EditText its border reduces.
B4X:
Dim cdtxt As ColorDrawable
cdtxt.Initialize2(Colors.Transparent,10,1,Colors.LightGray)
If v Is EditText Then
txt=v
txt.HintColor=0xFFC5BABA
txt.textColor=0xFF356859
txt.Typeface=sLekton_Bold
txt.Gravity=Bit.Or(Gravity.LEFT,Gravity.top)
txt.Padding=Array As Int(1%x,0,0,0)
txt.Background=cdtxt
End If
Can anyone pls give some clue.
Thanks
Juzer