Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the default layout background

I got a WebView that load an HTML file with a text. The problem is that the color inside the html and outside isn't the same. Here is a screenshot:

The Activity With the WebView

The HTML FIle is:

<html dir="rtl"> <head>     <title>About</title>     <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>      <body bgcolor="#FFFFFF">         <p>This is a Testpp</p>         <p>See the problem.</p>          <p>last test:</p>     </body> </html> 

(If I remove the: bgcolor="#FFFFFF" color stays the same) Thanks!

like image 724
elichai2 Avatar asked Jan 24 '13 17:01

elichai2


People also ask

What is the default background?

By default the background colour of html webpage is white.

What is the default background color in Android?

By default each activity in Android has a white background. To change the background color, first add a new color definition to the colors.


1 Answers

The default background color for light theme is: #EEEEEE

Is almost white, but not completely.

It worked for me, hope its work for you.

UPDATE: In new versions you could be looking for #FAFAFA

like image 66
cutiko Avatar answered Oct 06 '22 13:10

cutiko