How to Slide from an Activity to another...?

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

How to Slide from an Activity to another...?

Postby medicalfix » Fri Jan 02, 2009 5:09 pm

I've been trying to now tackle animations on Android and well I'm a
little lost.

I'm trying to slide on Activity as the older Activity slides out...
you could say "iPhone's" way...
I read in these posts that it isn't possible but maybe I have a good idea on how to
approach this:

Activity 1: Layout A
Activity 2: Layout B

On Activity 1:
Animate from Layout A sliding out as Layout B slides in.
then proceed to Activity 2 which already would just re-draw Layout B.

Is this possible?
How do I animate a Layout using some code?

Thanks!
Moto!
medicalfix
Junior Developer
Junior Developer
 
Posts: 17
Joined: Sat Nov 01, 2008 9:55 pm

Top

Postby Emmanuel7 » Sat Jan 03, 2009 1:08 am

I don't think it is possible.
There was already a post on this topic here :
Link

You can't have two activities at the same time, so you can't do that.

But, you can have several view ( a layout is a view ), so you can imagine to implement your application as a single activity, with several views and a slide animation to pass from a view to another.

I'm not sure how much easy / feasible it is...
Emmanuel7
Senior Developer
Senior Developer
 
Posts: 164
Joined: Fri Dec 12, 2008 2:17 am
Location: Paris

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 4 guests