Remove hidden view via removeView resizing problems

I had some resizing problem after removing a hidden view with removeView from a layout.

I found the calculation difference inside _set_child_size during the correction calculation. _hiddencells was still the old value (before removing) leading to a higher y value.

Tagged:

Comments

  • Yep, this one is a bug.
    As quick and dirty solution you can show the view before removing it.

    Fix will be included in the next build

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion