//this code creates a simple button and supposed to set background and
highlight colors:

inal Button btnSwap = new Button(this);

btnSwap.setBackgroundColor (Color.GRAY);
btnSwap.setHighlightColor(Color.RED);

// In my case the button is shown as GRAY (expected) but highlight
color does not do anything. When I select the button or click on it,
it does not change in appearance. The button is enabled. What am I
doing wrong?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to