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

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


Sponsored Links
 Hello.

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,
douard
--~--~---------~--~----~------------~-------~--~----~



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. android:id="@+id/label??

Hi all

This is my first question. I am learning android very late I know & I have a
question.

Can anyone explain me this statement below.

android:id="@+id/label

what does it mean by the plus sign I am going through the tutorial on
android.

http://developer.android.com/resources/tutorials/views/hello-relativelayout.html

There is no explanation of this & I was hoping if someone can explain it to
me.

Thanks

Irtiza

--

2. youtube HTC channel

lo buka, kalo keracunan SALAH lo pada sendiri....


http://www.youtube.com/user/HTC

wekekekekekeke




ada desire......etc etc

-- 
"Indonesian Android Community [id-android]" 

3. N1 vs xperia10

4. Is it possible to change background color of Preference

5. Detecting if there is a screen unlock pattern?

6. Apps shazam cool

7. apk: untuk radio