Sunday, October 18, 2009

[android-developers] Re: Putting a Webview in a Tab Content

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments:

Post a Comment