Slide window / popup
Hi,
I am wondering if it possible with Titanium to do this:
On the bottom of the current window will have a single tab like window/popup.
This small tab/window/popup you can slide up and down and it has a few buttons on it.
On load, it will only show the top of the tab, and when you slide it up, it shows some buttons etc. It can only slide up until the whole window is shown.
I hope I am making sense.. Will clarify more if needed
2 Answers
-
It's possible.
The best (and perhaps only) approach would be to use a partially-hidden view with an event listener that implements a custom 'drag' function to slide the view with the user's gesture.
Performance might be an issue if the view is particularly complex.
-
Thanks for your reply James K.
To further explain I have attached images of what I am trying to do with Titanium..
http://i.imgur.com/sBDnD.png
http://imgur.com/wgvEd.png
Would be great if someone could give some example code ;) Thanks in advance..
By the way, this has to work on Android and iPhone