My understanding is that animation controllers can be applied to layouts and views, but not whole activities.
You might be able to apply a layout animation on the root layout, and perform a transition that appears to take up the whole screen. This could be coupled with a screen shot of the next activity to give the illusion that the transition is taking you to it. However, the effect you would get is a diagonal transition, followed by the built-in system transition (the horizontal swipe effect), which would finally land you at the next activity. So I think the transitions are the responsibility of the base system, and the user-level applications have no control over them. The best you could to is imitate them with an animation, and tell the user to turn off the system one (Settings -> Sound & Display -> Animation); which is not ideal. On Thu, Jan 14, 2010 at 1:57 PM, Justin Anderson <[email protected]> wrote: > You might be able to define it as a layout animation, but I have never tried > this... > > So, let's say your main activity has a LinearLayout that encompasses > everything else. You should be able to specify animations for that Layout > for when it comes on and off the screen. > > Take a look at the Dev Guide where it talks about animations... > > On Jan 14, 2010 4:51 AM, "Sean Hodges" <[email protected]> wrote: > > As far as I'm aware, there are no diagonal screen transitions in > Android. You also can't define them per app, the activity transitions > are defined by the system theme. > > On Thu, Jan 14, 2010 at 11:39 AM, satish bhoyar <[email protected]> > wrote: > Hi Guys, > > I wa... > >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Beginners" group. >> >> NEW! Try asking and tagging your question on Stack Overflow at >> http://stackoverflow.com/questions/tagged/android >> >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en >> >> > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > >
-- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

