Android Question Color codes

Discussion in 'Android Questions' started by Paul Boyle, Apr 1, 2015.

  1. Paul Boyle

    Paul Boyle Member Licensed User


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

    What integers represent which colors?

    Many Thanks

  2. NJDude

    NJDude Expert Licensed User

    Like this:
    Spinner.DropdownBackgroundColor = Colors.Red


    Spinner.DropdownBackgroundColor = Colors.ARGB(50345020)
  3. mangojack

    mangojack Well-Known Member Licensed User

    This color chart might be useful .. MS Excel format

    Attached Files:

  4. Paul Boyle

    Paul Boyle Member Licensed User

    Thanks for that.

    I have 6 items on the spinner list.

    spr_Level.Add("Select Level")
    For i = 1 to 5
    "Level " & i)
    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.
  5. DonManfred

    DonManfred Expert Licensed User

    See the properties and methods of the spinner in the documentation on how to set a specific item.
    Escpecially see this.
    thedesolatesoul likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice