Nice! That's a better solution than my duplicate XML files, and gives you more flexibility also.
On Jul 12, 9:46 pm, metal mikey <[email protected]> wrote: > oops, not quite. The LayoutAnimation IS only applied when the layout > is added to the AppWidget, as James stated... > > ...so the trick is to: > > Follow these > directions:http://www.satyakomatineni.com/akc/servlet/DisplayServlet?url=Display... > > + do something like this: > > RemoteViews views = new RemoteViews(context.getPackageName(), > R.layout.mycompleteappwidgetlayout); > views.removeAllViews(R.id.myappwidgetlayoutsubview); > RemoteViews myNewAppWidgetLayoutSubView = new > RemoteViews(context.getPackageName(), R.layout.mysubviewlayout); > views.addView(R.id.myappwidgetlayoutsubview, > myNewAppWidgetLayoutSubView); > > On Jul 12, 10:35 pm, metal mikey <[email protected]> wrote: > > > > > Got it working! > > > Refer to this > > resource:http://www.satyakomatineni.com/akc/servlet/DisplayServlet?url=Display... > > > I've just found that the LayoutAnimation is applied whenever the > > layout is set visible ;)- Hide quoted text - > > - Show quoted text - -- 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

