R RobertJ Member Licensed User Longtime User Mar 12, 2012 #1 I am using the component AutoCompleteEditText, but I noticed that the "suggested words window" is not showing like when using a regular EditText, but only the words added to the SetItems. Is that a standard behavior or can it be activated? Thanks a lot Robert J.
I am using the component AutoCompleteEditText, but I noticed that the "suggested words window" is not showing like when using a regular EditText, but only the words added to the SetItems. Is that a standard behavior or can it be activated? Thanks a lot Robert J.
Erel B4X founder Staff member Licensed User Longtime User Mar 12, 2012 #2 The suggested words list is disabled by default. You can enable it by setting the InputType property: Code: Sub Activity_Create(FirstTime As Boolean) Dim act As AutoCompleteEditText act.Initialize("") act.SetItems(Array As String("aaa", "bbb")) act.InputType = act.INPUT_TYPE_TEXT Activity.AddView(act, 0, 0, 300dip, 100dip) End Sub Upvote 0
The suggested words list is disabled by default. You can enable it by setting the InputType property: Code: Sub Activity_Create(FirstTime As Boolean) Dim act As AutoCompleteEditText act.Initialize("") act.SetItems(Array As String("aaa", "bbb")) act.InputType = act.INPUT_TYPE_TEXT Activity.AddView(act, 0, 0, 300dip, 100dip) End Sub
R RobertJ Member Licensed User Longtime User Mar 13, 2012 #3 Awesome!! Thanks man Robert J ps. you never sleep?? Upvote 0