Sometimes people want to make a transition of two views, without necessarily pushing a new activity. For instance you may want to change the content of an applet frame, while keeping the header and footer (or at least without animating them).
The ViewStack view should allow to stack multiple views, with an optional transition animation between pushs and pops (fade in / out, slide left / right, etc...). The choosen transition animation and "isTranslucent" flag of the view should tell what views can be drawn (all of them or only the top most one).
The behavior is the same as the activity stack so it should be generalized to both, as we also want to animate activity pushes / pops, see #112.
I would also like a StackAppletFrame that has a ViewStack as content, but also handles a title and icon stack, linked to the views stack. That is for convenience when using ViewStack inside AppletFrame.
Sometimes people want to make a transition of two views, without necessarily pushing a new activity. For instance you may want to change the content of an applet frame, while keeping the header and footer (or at least without animating them).
The
ViewStack
view should allow to stack multiple views, with an optional transition animation between pushs and pops (fade in / out, slide left / right, etc...). The choosen transition animation and "isTranslucent" flag of the view should tell what views can be drawn (all of them or only the top most one).The behavior is the same as the activity stack so it should be generalized to both, as we also want to animate activity pushes / pops, see #112.
I would also like a
StackAppletFrame
that has aViewStack
as content, but also handles a title and icon stack, linked to the views stack. That is for convenience when usingViewStack
insideAppletFrame
.