Does changing background color in android destroy the widget's appearance?
Posted
by cibercitizen1
on Stack Overflow
See other posts from Stack Overflow
or by cibercitizen1
Published on 2010-05-23T18:30:22Z
Indexed on
2010/05/23
18:40 UTC
Read the original article
Hit count: 218
I've noticed that changing the background color of an android widget (f.ex. Button or TextView) by program:
myButton.setBackgroundColor(Color.BLUE);
makes it to loose its 3D shape, border, and shadows effects, and then appears like a ugly flat square. What am I missing?
Sorry for the very naive question but I couldn't get it right although tried for a time.
© Stack Overflow or respective owner