Hi. Is there any way to do that? I know there're no functions in the view itself and that you can put a panel under it or something, but that's a little inconvenient. Any other ways, like with CSS, for example?
Any ideas? Thanks.
Estimados, Quiero compartir un ejemplo (archivo adjunto) de como se puede personalizar una vista B4XFloatTextField de la librería XUI Views. En este ejemplo he usado el método de desarrollo B4XPages, y si desea se puede usar en el desarrollo normal. La única diferencia entre las plataforma...
Dim cd As ColorDrawable
cd.Initialize2(Colors.White, 5dip, 5dip, Colors.Black)
Dim MyEditText As EditText = B4XFloatTextField1.TextField
MyEditText.Background = cd
If you use a standard b4xview there is a method called SetColorAndBorder which will do what you require.
if you have declared an edittext you can use the As(b4xview) cast
Wow! That's amazing!
Thanks a lot! I don't know why I keep forgetting to check for updates! Anyway, I didn't expect the B4X language to receive such an exciting new feature! It saves me a lot of trouble.