On Feb 12, 5:36 pm, Mark Murphy <[email protected]> wrote:
> On Sun, Feb 12, 2012 at 10:59 AM, atcal <[email protected]> wrote:
> > My app has two activities. The main activity uses WebView to interact
> > with the user. When the user has selected certain options the second
> > activity is "intent"ed.
>
> > WebView creates a top margin in the emulator showing battery state and
> > time (among other things).
>
> That has nothing to do with WebView. That is the status bar.
>
> > Under this is the title bar of the web
> > page. Under this is the web page. When the second activity launches
> > and the next view is drawn, it only gets access to the area previously
> > used by the web page (ie not the top margin or title bar). How can I
> > get to draw on the full screen?
>
> Add android:theme="@android:style/Theme.NoTitleBar.Fullscreen" to the
> <activity> in the manifest.
>
> However:
>
> -- On Android 3.0+, you cannot get rid of the system bar
>
> -- On Android 3.0+, this will get rid of the action bar, which may
> mean the user will no longer be able to access your options menu items
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android 4.0 Programming Books:http://commonsware.com/books


Thanks

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