V
V
Vlad1612014-05-30 15:46:09
Android
Vlad161, 2014-05-30 15:46:09

How to make a LinearLayout animate with changing click positions of its inner elements?

I have a LinearLayout which has three TableLayouts, each with three TableRows that have many buttons.
When I make the LinearLayout shrink animation, everything on the screen shrinks as it should, but the position of the button clicks stays the same. That is, after the animation, when I click on the buttons, nothing happens, but if I click on the button positions that were before the animation (BEFORE ANIMATION), then the buttons are pressed and activated. How to fix it?
uvJTSJW.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
one pavel, 2014-05-30
@onepavel

Try the setFillAfter and setFillBefore methods on the animation object

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question