Are you referring to a multi-pane layout with multiple fragments? On Friday, April 20, 2012 2:25:16 PM UTC+8, Jon Perlow wrote: > > I'm trying to improve the transition of an Activity containing a ListView > that navigates to another Activity containing a ListView when the user > selects an item. > > In ICS, the holo theme has a list selector that has a very nice fade-out > transition. Maybe I am just doing something stupid, but AFAICT, the problem > with this is that only a toy app could really make that transition work > under Android's UI architecture. In order for the animation to be smooth, > let's assume it needs a 25 fps draw rate. Drawing in android requires the > UI thread. that means you can't block the UI thread for more than 40ms for > that animation to render smoothly. In the scenario where clicking on a list > item navigates to another activity, it requires that the other activity > finish its onCreate, onStart, onResume, the measuring and layout of all its > views in less than 40ms. > > Is this really possible for any real application? I noticed that most of > the apps that come with Android are not using this transition. AFAICT, the > Gmail app doesn't use it nor does the SMS app or the contacts app. There > are a few apps that do use it like the preferences and the transitions are > extremely choppy. > > -Jon >
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

