javascript - Unicode Character 'BULLET' in Titanium App -
i have problem bullet character in android app developed titanium.
i have part of code:
function getformattedpizza() { var text = win.crust + ' pizza with:\n'; if (win.toppings.length == 0) { text += '• plain (cheese pizza)\n'; } else { (var = 0; < win.toppings.length; i++) { text += '• ' + win.toppings[i] + '\n'; } } homecoming text; }
and in app see string &bull ; plain (cheese pizza), not unordered list.
in way can show dots list?
instead of &bull
can utilize '\u2022'+'plain (cheese pizza)'
, \u2022
unicode bullet.
samlple code :
var lbl = ti.ui.createlabel({ text : '\u2022'+' hello' }); win.add(lbl);
for more unicodes can check link, or refer question.
hope help you. :)
javascript android unicode titanium titanium-mobile
No comments:
Post a Comment