AHilberink Active Member Licensed User Longtime User Apr 3, 2019 #1 Hi, I use: B4X: Paswoord.PasswordMode=True This works fine on EditText fields with my own layout. On small devices this EditText fields are replaced by android to display the keyboard also. When this happens, the Passwordfield is not hiding anymore. Example: See uploaded file Solution: I had to add the following: B4X: Paswoord.InputType=0x00000081 Now it works fine on both situations. Maybe helpfull for you. Best regards, André Attachments Screenshot_20190403-163649.jpg 129.8 KB · Views: 390
Hi, I use: B4X: Paswoord.PasswordMode=True This works fine on EditText fields with my own layout. On small devices this EditText fields are replaced by android to display the keyboard also. When this happens, the Passwordfield is not hiding anymore. Example: See uploaded file Solution: I had to add the following: B4X: Paswoord.InputType=0x00000081 Now it works fine on both situations. Maybe helpfull for you. Best regards, André
Erel B4X founder Staff member Licensed User Longtime User Apr 4, 2019 #2 You can also disable it with: B4X: Dim jo As JavaObject = TextField1 jo.RunMethod("setImeOptions", Array(Bit.Or(33554432, 6))) 'IME_FLAG_NO_FULLSCREEN | IME_ACTION_DONE Upvote 0
You can also disable it with: B4X: Dim jo As JavaObject = TextField1 jo.RunMethod("setImeOptions", Array(Bit.Or(33554432, 6))) 'IME_FLAG_NO_FULLSCREEN | IME_ACTION_DONE