Android Question EditText As B4XView InputType

red30

Active Member
Licensed User
If I use EditText as B4XView. Can I somehow select an input type like a regular EditText?
 

red30

Active Member
Licensed User
Rule number #1 of B4XView: you can always cast the view back to the native type and do whatever you like.

B4X:
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

red30

Active Member
Licensed User
For B4XFloatTextField, I see the text type property only in the designer. How can I change it in the code?
 
Upvote 0
Top