Android Question label color change

Discussion in 'Android Questions' started by gjoisa, Jul 14, 2019.

  1. gjoisa

    gjoisa Active Member Licensed User

    I tried several times this . changed the color of label in designer properties . but in actual app while I install to device it does not changes . Is it a bug or am I doing some mistakes ?
  2. klaus

    klaus Expert Licensed User

    How did you do it?
    It should work!
  3. emexes

    emexes Well-Known Member Licensed User

    Did you set the alpha level (opacity) to eg 255? Labels default to 0 (transparent) so that you can see the background that is behind it. Set it to 255 if you'd like the label to have its own solid background, or eg 80 for a translucent effect.

    Last edited: Jul 15, 2019
  4. gjoisa

    gjoisa Active Member Licensed User

    Alpha level is the matter I missed . Thank you
  5. emexes

    emexes Well-Known Member Licensed User

    No worries. I think most of us discovered alpha the hard way. I was going to mention that you should search the forum before posting a question, but luckily I tested that theory first, and discovered that this particular topic is not so easy to find if you don't already know the answer (ie, keyword: alpha)


    However, in that list there is a post that might be of use to you in the near future, which mentions label borders and generally making your UI more dashing:

    Even unsuccessful searches can be useful!

  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