Android Question TextField Doubt?

RishiKumar2210

Active Member
I am using the same AS_textfield for both. But Enter button has been differ from one to another. what is the reason?
 

Attachments

  • Screenshot_20240216-124215_2.png
    Screenshot_20240216-124215_2.png
    99.2 KB · Views: 61
  • Screenshot_20240216-124224_2.png
    Screenshot_20240216-124224_2.png
    87.5 KB · Views: 57
Solution
In the first image it is a next button, it focus the next textfield and in the second image, it is the last textfield so its an done button, the keyboard closed then.

If you want the the done button for every textfield then you can access the native textfield and force it.
B4X:
AS_TextFieldAdvanced1.NativeTextField.ForceDoneButton = True

Alexander Stolte

Expert
Licensed User
Longtime User
In the first image it is a next button, it focus the next textfield and in the second image, it is the last textfield so its an done button, the keyboard closed then.

If you want the the done button for every textfield then you can access the native textfield and force it.
B4X:
AS_TextFieldAdvanced1.NativeTextField.ForceDoneButton = True
 
Upvote 0
Solution

RishiKumar2210

Active Member
In the first image it is a next button, it focus the next textfield and in the second image, it is the last textfield so its an done button, the keyboard closed then.

If you want the the done button for every textfield then you can access the native textfield and force it.
B4X:
AS_TextFieldAdvanced1.NativeTextField.ForceDoneButton = True
Is there any way to use this as_advancedtextfield as spinner or combo box. I want exactly like Combo box when user opens Combo box menu, then I want to ndicate the user by changing the focus title text color.
 
Upvote 0
Top