Shouldn't be adding/removing them. We are actively hiding/showing them (.setVisibility(GONE) and .setVisibility(VISIBLE))
- Dan On Tue, Aug 18, 2009 at 8:14 PM, Marco Nelissen <marc...@android.com> wrote: > > Are you dynamically adding/(re)moving views? > > > On Tue, Aug 18, 2009 at 5:05 PM, Dan Sherman<impact...@gmail.com> wrote: > > Getting a bunch of these errors logged on one of our apps... Not sure > > exactly whats causing it (doesn't show our app anywhere in the > stacktrace) > > > > java.lang.IllegalArgumentException: parameter must be a descendant of > this > > view > > at > > > android.view.ViewGroup.offsetRectBetweenParentAndChild(ViewGroup.java:2454) > > at > > > android.view.ViewGroup.offsetDescendantRectToMyCoords(ViewGroup.java:2391) > > at android.view.ViewRoot.scrollToRectOrFocus(ViewRoot.java:1301) > > at android.view.ViewRoot.draw(ViewRoot.java:1107) > > at android.view.ViewRoot.performTraversals(ViewRoot.java:1030) > > at android.view.ViewRoot.handleMessage(ViewRoot.java:1482) > > at android.os.Handler.dispatchMessage(Handler.java:99) > > at android.os.Looper.loop(Looper.java:123) > > at android.app.ActivityThread.main(ActivityThread.java:3948) > > at java.lang.reflect.Method.invokeNative(Native Method) > > at java.lang.reflect.Method.invoke(Method.java:521) > > at > > > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782) > > at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) > > at dalvik.system.NativeStart.main(Native Method) > > > > > > Anyone know where to start looking? > > > > - Dan > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---