How to remove the WebView top/left 8-pixel inner margin?

by elDoudou » Fri, 10 Apr 2009 21:01:27 GMT

Sponsored Links

After some search, even in the WebView and related classes source
code, I could not find where the built-in 8-pixel inner margin of a
WebView is set. I would like to display a WebView with no inner
margin: is it feasible, please? Or am I missing something and there is
no top and left inner margin inside a WebView?

Thank you for your help and support. Regards,

How to remove the WebView top/left 8-pixel inner margin?

by elDoudou » Mon, 13 Apr 2009 18:13:08 GMT

 Anyone on this? Do I need to reformulate my question? I know it sounds
cosmetics, but since I need to display a HTML banner, the need for
accuracy is really needed? Android Googlers, your help is very
welcome ;) Regards, douard

Sponsored Links

How to remove the WebView top/left 8-pixel inner margin?

by elDoudou » Tue, 14 Apr 2009 02:37:31 GMT

 That was my fear, i.e. that the left and top margin be hard-coded deep
down on the C inaccessible layer ;( Thank you for taking the time. By
"accuracy", I mean that I want to control the width of the total
WebView widget, so that it takes exactly 320 pixels and that the
loaded HTML inside the WebView contains a 320-wide pixels image that
should perfectly fit the Android device width of 320 pixels... This
does not seem to be possible because of this built-on margin, except
in a margin can be set negative...

Other Threads

1. TCP IP connection via Mobile Network


I am new to this forum and I would like to throw out this question and
hopefully someone can point me in the right direction. I am developing
an Android application and I would like to setup a tcp/ip type of
connection between two Android phones using the 3G/Edge network. My
test version will establish a connection if I have both phones on a
lan using wifi but when I use T-Mobile's network a connection is not
established. Could this issue be a port or ip address? Thanks in


2. Android paid apps in Ireland

Hi guys

I have a popular music search engine app for the iPhone called Tunepal
( and in response to
multiple requests I have been working hard to port it Android. The
port will be finished in the coming weeks and I want to sell it on the
Android Marketplace. The majority of my iPhone users are in Ireland
(though I have users in 22 countries). I am not going to release it
for free. It seems I cant sign up for a google checkout merchant
account, because I live in Ireland and there are no paid apps allowed
on the Irish Android Marketplace!!!

The first problem I can get around by using my sisters bank account in
London (why??) but how do I get around the second problem?

1. When will the Android paid app marketplace be available in Ireland
2. If its not going to be for a while, how do I sell my app in Ireland
withough using the Android Marketplace?




3. send MMS with Audio part via Intent

4. SQLiteOpenHelper.getWritableDatabase ambiguous documentation

5. "back" button when in ListActivity causes runtime exception

6. Adding an Intent to a Sync'd account option in a contact

7. Recieveing a notification when an activity is launched