Positioning elements outside an Activity on Android

Posted by Aleksander Kmetec on Stack Overflow See other posts from Stack Overflow or by Aleksander Kmetec
Published on 2010-04-07T10:13:19Z Indexed on 2010/04/07 12:53 UTC
Read the original article Hit count: 300

Filed under:
|
|

Is there a way to absolutely position an UI element on Android so that it is located outside an Activity? For example: can you create a fullscreen ImageView simply by moving/resizing an ImageView inside an existing regular Activity instead of creating a new fullscreen activity?

EDIT: Re-reading my question I see I wasn't very clear about what I'm trying to accomplish. I'd like to temporarily extend an element to cover the notification bar at the top of the screen. I need to create a semitranslucent fullscreen overlay but since translucent activities cannot cover the notification bar I'm trying to find out if it's possible for an element to break out of activity's bounds and resize itself to fill the whole screen, top to bottom.

© Stack Overflow or respective owner

Related posts about android

Related posts about activity