How can I implement the radio button on a window with Titanium platform?
4 Answers
It's radio button in a window , not option dialog.
The available UI elements can be found here.
Take a look at this thread that discusses the matter.
if you have 2 or more radio button then keep first as checked and other as a unchecked,
var Radio_joke = Ti.UI.createView({ top:60, left:25, height:25, width:25, backgroundImage:'../images/checked.png' }); win_setting.add(Radio_joke);
var Radio_quotes = Ti.UI.createView({ top:95, left:25, height:25, width:25, backgroundImage:'../images/unchecked.png' }); win_setting.add(Radio_quotes);
You can create your own radio button using images and set the logic for checking one button at a time and unchecking another buttons at that time.
Your Answer
Think you can help? Login to answer this question!