Maybe i didn't explain it well enough.. The main.xml file is used already, so frame_animations_layout.xml is the layout for this, see below
*************** <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <ImageView android:id="@+id/imageView" android:layout_width="fill_parent" android:layout_height="wrap_content" /> </LinearLayout> the imgview is not set up in onCreate but later on, David ************************* On Aug 21, 9:47 am, skink <[email protected]> wrote: > On Aug 20, 11:33 am, Kingcrowley <[email protected]> wrote: > > > Weirdly if i press the home button, and then switch back to my app it > > reopens and the animation is then shown as running! > > > Thanks, > > > David > > hi, start your animation when view is already visible (not in onCreate) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

