Android Question How to make a ListView's background opaque (Alpha = 255) [solved]

Discussion in 'Android Questions' started by Didier9, Jul 14, 2018.

  1. Didier9

    Didier9 Active Member Licensed User

    I think the title says all.
    I know I can do that in the designer, but I prefer to add the listview programmatically for this project.
    TIA
     
    Mashiane likes this.
  2. Didier9

    Didier9 Active Member Licensed User

    OK, I found the answer: use ARGB as in
    Code:
    ListView1.Color = Colors.ARGB( 255707070 )
     
Loading...
  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