iPhone: Access to Native colored buttons
I know the kitchen sink has examples of a green button that is an imported graphic. But I was wondering if there is a way to get that look with just code or using native images?
For example this image.
Is there a way to do this without importing graphics? Or using native images?
Thanks,
Fish
3 Answers
-
With an OptionDialog ??
http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.OptionDialog-object
-
Sorry. I should have mentioned I want to use this at the button at the bottom of a table view not as an option dialog button.
Thanks,
Fish -
I use trick for this - I use a buttonbar with one label only. It allows you to set the background color :)