Android Question Textfield autocmplete (as in chrome)

fbritop

Active Member
Licensed User
Longtime User
Is there a way to avoid andorid pushing their autocomplete features (With chrome as a browser is a nightmare), but I dont know why they mess with private apps. Moreover, the overfill text fields with their awful yellow background


1610747073779.png
1610747142341.png
 

fbritop

Active Member
Licensed User
Longtime User
Thanks for the link, but how can we apply both styles?. I was using the bit.or with flag 0x00000020 (Email address) already, how do you use both, 0x00000020 and 000800000?

Cheers
FBP
 
Upvote 0

TILogistic

Expert
Licensed User
Longtime User
Chileno???

test:
TYPE_TEXT_VARIATION_EMAIL_ADDRESS
Constant Value: 32 (0x00000020)

TYPE_TEXT_VARIATION_EMAIL_SUBJECT
Constant Value: 48 (0x00000030)


EditText:

EditText1.InputType = Bit.Or(0x00000020, 0x00080000)

B4XFloatTextField :

Dim et As EditText = B4XFloatTextField1.TextField
et.InputType = Bit.Or(0x00000020, 0x00080000)
 
Last edited:
Upvote 0

fbritop

Active Member
Licensed User
Longtime User
Yes... chileno....
not sure where both variables go with the () as it states an error logic

1610910339898.png


PD.. sory my mistake... work like a charm. Saw your profile... do you have a corporate website (not an admin login).... have some clients we could share

Cheers
Felipe Brito
 
Upvote 0

TILogistic

Expert
Licensed User
Longtime User
B4XFloatTextField
Dim et As EditText = B4XFloatTextField1.TextField
et.InputType = Bit.Or(0x00000020, 0x00080000)

Was corrected in the previous post.

remember to define the field in the designer.

1610911394475.png


I am also Chileno.

Regards,
 
Last edited:
Upvote 0
Top