Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

is it possible to customise keyboardType : Titanium.UI.KEYBOARD_NUMBER_PAD ?

$
0
0

hii, I am making android app using alloy framework (windows 7) ...i want to now if it is possible to change the color of keyboard ....below is my code..

var pinTxt = Ti.UI.createTextField({ width : '40%', height : '70%', left : '30%', passwordMask : "true", maxLength : '6', hintText: 'Enter Your Pin', textAlign: 'center',

color : '#336699',
keyboardType : Titanium.UI.KEYBOARD_NUMBER_PAD,
returnKeyType : Titanium.UI.RETURNKEY_DEFAULT,
enableReturnKey : true

}); by using keyboardType : Titanium.UI.KEYBOARD_NUMBER_PAD , I am getting symbols along with numbers.. i want to keep only numbers 0-9 ...how i can do it??


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>