Dismissable banner in Android

Posted by hgpc on Stack Overflow See other posts from Stack Overflow or by hgpc
Published on 2010-06-07T04:48:08Z Indexed on 2010/06/07 4:52 UTC
Read the original article Hit count: 173

Filed under:
|
|

I would like to show a banner in an Android activity.

The banner should be:

  • Aligned at the bottom of the layout
  • Take all the width and have relative height (say 100dip)
  • Be dismissable

When dismissed the rest of the layout should strech to fill the area that was occupied by the banner.

What's the best way to implement this in Android?

Thanks!

© Stack Overflow or respective owner

Related posts about android

Related posts about layout