开发者

Animate outside android View paddings?

开发者 https://www.devze.com 2023-03-27 07:22 出处:网络
I\'m trying to animate a shaking button. I have the outer LinearLayout with a padding. But when the shaking starts it doesn\'t show in the padding area. Isn\'t their a way to force the animation to ha

I'm trying to animate a shaking button. I have the outer LinearLayout with a padding. But when the shaking starts it doesn't show in the padding area. Isn't their a way to force the animation to happen above all views and layouts开发者_C百科?


Animation will only happen inside the parent view according to my understanding. You make try to use the FrameLayout, or replace padding of the parent with margin of the button.

0

精彩评论

暂无评论...
验证码 换一张
取 消