I am trying to create one custom button which is circular and when i click that button i want that button FOCUS and COLOR change and i don't know how to do exactly so any one can help me or show me that code how to do?
views:
49answers:
2
+1
A:
You can use a regular Button
and specify custom Drawable for it and then apply it to the Background property of the button. See the ApiDemos for examples of styling controls.
Reflog
2010-06-07 12:30:20
A:
You can use two (or more) drawables for one Button and change the drawables in various states (focus, press, etc). Look at this: http://blog.androgames.net/40/custom-button-style-and-theme/
YaW
2010-06-07 14:10:21