On Tue, Aug 10, 2010 at 3:03 PM, paladin <[email protected]> wrote:
> I have ads that display on the top and bottom of the screen, and I'd
> like them both to slide off the screen smoothly, instead of just
> disappear. Is there some way to do this? They are both WebViews, if
> that makes any difference.

Use a TranslateAnimation. Here is sample project demonstrating it, in
the form of a custom View:

http://github.com/commonsguy/cw-advandroid/tree/master/Animation/SlidingPanel/

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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