Skip to content

Instantly share code, notes, and snippets.

@Amimul100
Last active August 29, 2015 14:03
Show Gist options
  • Save Amimul100/a95770fb449dcbb94d66 to your computer and use it in GitHub Desktop.
Save Amimul100/a95770fb449dcbb94d66 to your computer and use it in GitHub Desktop.
Bottom: 0 on android 4.3; footer "rides" the keyboard up and down as if the bottom of screen.
Hi,
I have tried this code and it's works. I am using a textarea and a view. Also here i set the bottom value of the view 0% to it's parent
~~~
<Alloy>
<Window id="win" backgroundColor="white">
<TextArea id="textArea"
borderWidth="2" borderColor="#bbb" borderRadius="5"
color="#888" textAlign="left" value="I am a textarea"
top="0%" width="Ti.UI.FILL" height="30%" />
<View id="footer" borderRadius="10" backgroundColor="red" width="Ti.UI.FILL" top="50%" bottom= "0"><Label>Confused</Label></View>
</Window>
</Alloy>
~~~
Hope it helps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment