Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2444] Android: paswordMask:true on textfield not masking on HTC Sensation XL

GitHub Issuen/a
ResolutionNeeds more info
Resolution Date2013-01-25T18:10:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
ReporterJerod Fritz
AssigneeMauro Parra-Miranda


We've only had issues with the field not being masked on HTC Sensation XL, Android 4.0.3 (IceCream Sandwich) . The code used is:
var win = Ti.UI.createWindow({
	backgroundColor : "#000"

var field = Ti.UI.createTextField({
	keyboardType : Ti.UI.KEYBOARD_EMAIL,
	returnKeyType : Titanium.UI.RETURNKEY_DONE,
	passwordMask : true,
	top : 5,
	width : 250,
	height : 50,
	backgroundColor : "#FFF",
	color: "#000",
	paddingLeft : 5,
	font : {
		fontSize : 14



  1. Daniel Sefton 2012-11-08

    Hi Jerod, I tested this on a 4.0.4 device and the password masks fine in the field itself. We noticed however that the auto correct functionality of android reveals the password above the keyboard when typing - is this what you meant? If you really meant the field, can you try the code I updated in your description and post a screenshot? If the field is unmasked, I will proceed to try 4.0.3 as well. Thanks.
  2. Daniel Sefton 2012-11-08

    Also please state your TiSDK version.
  3. Daniel Sefton 2013-01-25

    I've set this to resolved so that the issue can now be edited to provide more info. Thanks, Daniel

JSON Source