Idea about change from one view to another view with animation?
Does anyone know how to change between two views with animation?
Like I have one view open and when someone click on button in to the navbar, it flip the opened view and change to another view or something like that.
Any examples??
2 Answers
-
Accepted Answer
create Views such as View1, view2,etc. and a master view(masterVu)…
add all the views ie. view1,view2 to the masterVu.
then define functions such as this
function showView1() {
masterVu.animate({view:view1,transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT});View1.visible = True;
View2.visible = false;
}Trigger this function when you need the View1 to POPUP…
(do mark as the answer if this solves your problem)
-
The other simple way is put all your views inside a Scrollableview…..
check out the Link