Maybe I spoke too soon!  This code fits nicely in the tab content

                browser=new WebView(this);
                setContentView(browser);
                browser.loadUrl("http://commonsware.com";);

However, most of the url's I am using take over the entire screen!
What is deal?



On Oct 18, 2:29 pm, Mark Murphy <[email protected]> wrote:
> stanlick wrote:
> > When I place a Webview control in the content of a Tab, it is taking
> > over the entire display!  I have jacked around with the layout but I
> > can't figure out how to "fit" the control on the tab.  Is it possible
> > to do this?
>
> I have an example of WebViews in a TabHost in my first book:
>
> http://commonsware.com/Android/
>
> (click on the Source Code link in the Details area, down on the page)
>
> Look at Activities/IntentTab, take a peek at the main.xml layout, and
> see where the differences lie.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, $35/Year
--~--~---------~--~----~------------~-------~--~----~
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