Wenn ich eine HTML-Seite in Android WebView anzeigen, gibt es immer eine blaue Überlagerung auf das angeklickte Element, die eine href oder eine Javascript-Funktion süchtig hat. Wie werde ich dieses blaue Overlay los?Blue Overlay von OnClick
Source Code
<html>
<head>
<title>Blue Overlay</title>
<style>
*{margin:0;padding:0;/* get rid of the default 2 pixels margin */
}
body{background-color: #000000;}
/* button-related CSS */
a.button{
background: url("img/icon_bt.png") no-repeat scroll center center transparent;
display: block;
text-decoration: none;/*remove the blue underline*/
width: 70px;
height: 70px;
margin: 50px;
}
a.button:active{
background-image: url("img/icon_bt_pressed.png");
}
</style>
</head>
<body>
<a class="button" href="#"></a>
</body>
</html>
Vielleicht ist dies verwandt? http://stackoverflow.com/questions/7398763/android-browser-remove-outline-border-when-anchoris-focused – hayavuk