Why not use one View resource which includes both the SurfaceView for the animation and the normal view and show/hide them using setVisibility(View.GONE) and setVisibility(View.VISIBLE). This is pretty quick and how I've done something similar in the past.
Dave On Tue, Jun 23, 2009 at 2:18 PM, skink<[email protected]> wrote: > > hi, > > in my activity i'd like to setContentView() twice: first one i pass > custom SurfaceView that will be used for animated painting (some sort > of splash screen) and after animation finishes i setContentView() > again this time with my 'normal' activity View. > > the problem is that it takes quite long (2 seconds or so) to switch > to second content View. > > is there any way to speed it up? > > thanks, > pskink > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

