Created
August 26, 2019 15:08
-
-
Save MotiurRahman/0de2c6df5005e35850adf7b05680fccd to your computer and use it in GitHub Desktop.
TextArea in landscape mode.
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 win = Titanium.UI.createWindow({ | |
title : 'Pin Example', | |
backgroundColor : 'white' | |
}); | |
var view = Ti.UI.createView({ | |
backgroundColor : 'white', | |
layout : 'vertical', | |
top : 20 | |
}); | |
var textArea = Ti.UI.createTextArea({ | |
top : 60, | |
maxLength : '255', | |
borderColor : "#e0e0e0", | |
borderRadius : "4dp", | |
backgroundColor : "#FFFFFF", | |
editable : "true", | |
color : "#515151", | |
font : { | |
fontSize : '18dp', | |
fontFamily : 'OpenSans-Regular' | |
}, | |
height : "170dp", | |
left : "0%", | |
right : "4%", | |
//top: '1%', | |
keyboardType : Titanium.UI.KEYBOARD_TYPE_ASCII | |
}); | |
view.add(textArea); | |
win.add(view); | |
win.open(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment