ListTemplate shows 6 of 8 items.:
Dim options As B4XListTemplate
options.Initialize
options.Options = Array("Cat", "Dog", "Fish", "Crocodile", "Tiger", "lion", "Kangaroo", "zebra")
Wait For (Dialog.ShowTemplate(options, "OK", "", "CANCEL")) Complete (Result As Int)
If Result = xui.DialogResponse_Positive Then
Dialog.Show($"You selected: ${options.SelectedItem}"$, "OK", "", "")
End If
I'm looking for at least one of the following two solutions:
- Make the list longer to accommodate all 8 items
- Add a visual indicator to remind user that there are some more items hidden below.