Android Question Unable to set label colors

FERNANDO SILVEIRA

Active Member
Licensed User
Hi,

I'm trying to create four labels, each one with a different color (Yellow, Green, Red & Blue).
I hard coded these static colors on the Visual Designer but they keep appearing transparent on the WYSIWYG panel and when I run the program.

My idea is also to change these colors during program execution later.

What am I doing wrong?
Which color property should I set?

Regards,
Fernando

upload_2018-4-5_22-33-38.png
 

Computersmith64

Well-Known Member
Licensed User
Longtime User
Got it.
Thanx a lot.

BTW, they could call it "transparency" or something, instead of "alpha level", don't you think?
"Transparency" would actually be backwards - because an alpha of 0 = fully transparent & an alpha of 255 = fully opaque. It might make more sense to call is "Opacity", but most programmers are familiar with alpha (as in ARGB,or RGBA) for colors. :)

- Colin.
 
Upvote 0
Top