Last active
December 14, 2015 09:38
-
-
Save alexnaspo/5066003 to your computer and use it in GitHub Desktop.
for the use of my blog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var username = Ti.UI.createTextField({ | |
width:Ti.UI.FILL, | |
hintText:'Email', | |
height:'40dp', | |
backgroundColor:'#fff' | |
}); | |
var line = Ti.UI.createView({ | |
width:Ti.UI.FILL, | |
height:'1dp', | |
backgroundColor:'#ccc' | |
}); | |
var password = Ti.UI.createTextField({ | |
width:Ti.UI.FILL, | |
hintText:'Password', | |
passwordMask:true, | |
height:'40dp', | |
backgroundColor:'#fff' | |
}); | |
fieldContainer.add(username); | |
fieldContainer.add(line); | |
fieldContainer.add(password); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment