Android Question EditText As B4XView InputType

red30

Well-Known Member
Licensed User
Longtime User
If I use EditText as B4XView. Can I somehow select an input type like a regular EditText?
 
Rule number #1 of B4XView: you can always cast the view back to the native type and do whatever you like.

Code:
Dim et As EditText = YourView
et.InputType = ...

I recommend using B4XFloatTextField from XUI Views, in cross platform solution.
Yes, I just needed a cross platform solution. I will use B4XFloatTextField. Thanks for your reply.
 
Upvote 0
For B4XFloatTextField, I see the text type property only in the designer. How can I change it in the code?
 
Upvote 0
Back
Top