Appcelerator-Q-A-banner

How to make a textArea uneditable on Android

You must Login before you can answer or comment on any questions.

I want a text area that just displays text, but doesn't allow you to edit or type. I use the following code for both iPhone and Android. It works like I want on the iPhone, but the Android still displays the keyboard when you focus on the text.

Here is my code

var description = Titanium.UI.createTextArea({
    backgroundColor:'transparent',
    value:'The paragraph of text I want to appear',
    top:40,
    left:15,
    width:290,
    height:225,
    font:{fontWeight:'bold', fontSize:14},
    editable:false
});

1 Answer

I would just stick a transparent view on top of it and move on down the road.

Your Answer

Think you can help? Login to answer this question!