Reputation: 5701
I'm trying to achieve a similar effect as the 'Pull to refresh' amimation in for example the Twitter client.
I want a view, which contains some text, to 'slide out' off the screen (top). I tried the transition animation and it works, except that the content below the view stays on the same place. I want the rest of the content to 'slide' to the top as well, as the view above moves out of the screen. I have set fillAfter to true, so the top view actually stays out of screen like it should, it's just the stuff below that view that won't slide up with it.
Hope someone can help.
Thanks in advance, Erik
Upvotes: 0
Views: 591
Reputation: 26925
I want the rest of the content to 'slide' to the top as well, as the view above moves out of the screen.
Assign the TranslateAnimation
you use for your above view to your content view(s).
Upvotes: 2