Problem
In all the apps that I can recall on Android, the text next to checkboxes usually appears on the left. I appreciate this may be a subjective opinion, so please get other opinions and resolve or close this ticket as necessary.
See attached screenshot.
Test Case
var win = Ti.UI.createWindow({
backgroundColor: 'white'
});
var basicSwitch = Ti.UI.createSwitch({
color: 'black',
style: Ti.UI.Android.SWITCH_STYLE_CHECKBOX,
textAlign:Ti.UI.TEXT_ALIGNMENT_RIGHT,
title:'Notifications',
value:true,
width: 300
});
win.add(basicSwitch);
basicSwitch.addEventListener('change',function(e){
Ti.API.info('Switch value: ' + basicSwitch.value);
});
win.open();
// print initial value
Ti.API.info('Switch value: ' + basicSwitch.value);
I totally agree.
This nature is same as the native android behavior. So it cannot be treated as a bug.
Closing ticket as invalid.