WebView/Browser Viewport Size

by Miguel Paraz » Fri, 06 Mar 2009 23:56:19 GMT


Sponsored Links
 Hi,
Don't you think it would be useful for the WebView or the browser to
set the viewport size? This is to show the entire html content on a
single page, and disable scrolling.

This could be done as a setting on the WebView object, or through
Javascript or meta tags in the browser app (as it is in the iPhone).

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Here you go!

I know it's late but for anyone who's still looking for the answer!!

EditText mNameText = (EditText) findViewById(R.id.mNameText);

 mNameText.layout(int left , int top , int right , int bottom);

// this is relative to it's parent of course



--~--~---------~--~----~------------~-------~--~----~

2. Flashing a spannable or textview when data changes

You'll need to change the style of the text in the text view yourself.  You
don't need to use threads, though, just use Handler and post a delayed
message to execute when you want to remove the style.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~

3. I want To Port Android On My Motoroal A810

4. Flashing a spannable or textview when data changes

5. H.264 decoder problem in opencore

6. Change screen size in startup

7. Widget support in apps