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

TextArea not working on android 5.0 Lolipop

$
0
0

hello,

I am trying to implement textarea in appcelerator android. It works fine when I am not adding it inside the tableview. I've added my code snippet which is not working on android 5.0 emulator & android MOTO G lolipop version. Please help if I am missing any property or is there any tweak to this.

Thanks,

index.xml

<Alloy>
    <Window class="container" backgroundColor="white">
        <TableView>
            <TableViewRow>
                <View id="commentBox">
                    <TextArea id="textAreaa"
                    borderWidth="2" borderColor="#bbb" borderRadius="5"
                    color="#888" textAlign="left" value="I am a textarea"
                    top="60" width="300" height="70" />
                </View>
            </TableViewRow>
        </TableView>
    </Window>
</Alloy>

**index.tss

".container":{
    layout: "vertical",
    orientationModes: [Ti.UI.LANDSCAPE_LEFT,Ti.UI.LANDSCAPE_RIGHT,Ti.UI.PORTRAIT,Ti.UI.UPSIDE_PORTRAIT]
}
"#commentBox":{
    width: Ti.UI.FILL,
    height:Ti.UI.SIZE,
    layout: "vertical"
},

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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