Hi, When writing an App Widget based on Cupcake, I create a remote view like this:
views = new RemoteViews(context.getPackageName(), R.layout.widget_loading); however, the widget_loading.xml contains <ViewAnimator>. The ViewAnimator don't have @RemoteView tag, so it's can not be inflated in remote view. To fix this, I define a MyViewAnimator (which most likely the ViewAnimator in android) with @RemoteView tag in my project. Then use MyViewAnimator class in the layout xml file. But it failed, there was a exception that class loader cann't find MyViewAnimator class. So the problem is: how to use any animation in the remote view? Is it possible adding some visual effects on app widget? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---