Android Question Color codes

Paul Boyle

Member
Licensed User
Longtime User
Hi

Anyone know ho to populate the color code for a spinnner background dropdown ?

What integers represent which colors?

B4X:
spinner.DropdownBackgroundColor(?)

Many Thanks

P.
 

Paul Boyle

Member
Licensed User
Longtime User
Thanks for that.

I have 6 items on the spinner list.

B4X:
spr_Level.Add("Select Level")
For i = 1 to 5
    spr_Level.Add("Level " & i)
Next

Everytime the spinner is shown I want the "Select Level" item to be in the spinner view. Cant seem to get it. Works first time, but if the back button is pressed and the spinner is selected again, it still has the old selection selected.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
See the properties and methods of the spinner in the documentation on how to set a specific item.
Escpecially see this.
 
Upvote 0
Top