Hello There,

Basically I am developing an application which will need branding
various Android UI components/widgets with my own colours, I have been
looking for this from last few hours but there is no straight way of
doing it. Lets say I want to brand the Button component from the Java
code without any XML configuration and adding 9.png files to
resources, this is because I receive the colour for that button from a
remote server which can change from time to time(its silly but this is
a must have requirement for the project). I saw few post suggesting
having my own 9.png file that will override the originals through xml
configuration. If I have a single colour to brand with then its easy
to package the 9.png files for the various states of my button, but
the colour can be any valid RGB. So the question now; Is there any way
to get hold of the original 9.png file for any state(like button
pressed or in focussed) and clone it and then replace the RGB values
with my own? I am not sure why would Android not have such a feature.
Any suggestion or links to existing posts will be very helpful.

Thank you,
Manas.

--~--~---------~--~----~------------~-------~--~----~
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