Hi all,

I am using an absoluteLayout in which I have some child views. I am
mimicking pagination by hiding some and showing some. But I have a delete
option as well. So when I delete a child the viewGroup is re-adjusting its
child hierarchy. So in-order to avoid any overlap in a page I am replacing
the last child with the child to be deleted. Here I am using

detachViewFromParent (child_to_delete)

attachViewToParent (child_to_replace)

after replacing I am calling ----> removeViewAt
(previous_position_of_child_to_replace).

I am currently facing some problems with this. It is leaving broken pieces
around. Sometimes I see half part of the device there n half part here.

Even though RemoveViewAt() calls invalidate on its parent --- I tried
explicitely calling invalidate() on the parent -- but it dint work



Any help is appreciated...

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to