Cycle interpolator does not exist. And it's not how you specify an animation's interpolator anyway :)
On Thu, May 14, 2009 at 2:34 PM, TjerkW <tje...@gmail.com> wrote: > > I specified an animation resource using xml: > > <set xmlns:android="http://schemas.android.com/apk/res/android"> > <alpha > android:fromAlpha="0.0" > android:toAlpha="1.0" > android:duration="5000" > android:fillAfter="true" /> > <CycleInterpolator cycles="2"/> > </set> > > Exactly as explained here: > http://developer.android.com/guide/topics/resources/available-resources.html#animation > > What am i doing wrong here? > I am getting this Exception: > > 05-14 21:19:57.081: ERROR/AndroidRuntime(843): Caused by: > java.lang.RuntimeException: Unknown animation name: CycleInterpolator > 05-14 21:19:57.081: ERROR/AndroidRuntime(843): at > android.view.animation.AnimationUtils.createAnimationFromXml > (AnimationUtils.java:117) > 05-14 21:19:57.081: ERROR/AndroidRuntime(843): at > android.view.animation.AnimationUtils.createAnimationFromXml > (AnimationUtils.java:107) > 05-14 21:19:57.081: ERROR/AndroidRuntime(843): at > android.view.animation.AnimationUtils.createAnimationFromXml > (AnimationUtils.java:84) > 05-14 21:19:57.081: ERROR/AndroidRuntime(843): at > android.view.animation.AnimationUtils.loadAnimation > (AnimationUtils.java:64) > 05-14 21:19:57.081: ERROR/AndroidRuntime(843): at > com.airattack.SplashScreen.onCreate(SplashScreen.java:28) > 05-14 21:19:57.081: ERROR/AndroidRuntime(843): at > android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: > 1123) > 05-14 21:19:57.081: ERROR/AndroidRuntime(843): at > android.app.ActivityThread.performLaunchActivity(ActivityThread.java: > 2231) > > > (b.t.w i solved this by setting the inperpolator using javacode.. but > thats not the most beautifull solution) > > > > > > > > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---