Hi all,

I'm trying to get the background color of a button. This color was
applied on this button with the XML code.
It's little complicated !!!

I tried some solutions like:

Drawable d = findViewById(R.id.my_btn).getBackground();

But i can't obtain the background color code.
Any people have idea ??

Regards.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to