"Android" webview Setting background color
Last Update:2015-04-28
Source: Internet
Author: User
<span id="Label3"></p><p style="color: rgb(51, 51, 51); font-family: tahoma, 宋体; font-size: 14px; line-height: 22.399999618530273px; text-align: justify; white-space: normal; background-color: rgb(250, 250, 252);"><p style="color: rgb(51, 51, 51); font-family: tahoma, 宋体; font-size: 14px; line-height: 22.399999618530273px; text-align: justify; white-space: normal; background-color: rgb(250, 250, 252);"><strong>Android WebView Set background color to Transparent color</strong></p></p><p style="color: rgb(51, 51, 51); font-family: tahoma, 宋体; font-size: 14px; line-height: 22.399999618530273px; text-align: justify; white-space: normal; background-color: rgb(250, 250, 252);"><p style="color: rgb(51, 51, 51); font-family: tahoma, 宋体; font-size: 14px; line-height: 22.399999618530273px; text-align: justify; white-space: normal; background-color: rgb(250, 250, 252);">I've tried everything on the internet to find a lot of ways.</p></p><p style="color: rgb(51, 51, 51); font-family: tahoma, 宋体; font-size: 14px; line-height: 22.399999618530273px; text-align: justify; white-space: normal; background-color: rgb(250, 250, 252);"><p style="color: rgb(51, 51, 51); font-family: tahoma, 宋体; font-size: 14px; line-height: 22.399999618530273px; text-align: justify; white-space: normal; background-color: rgb(250, 250, 252);">1. Directly set to background as transparent or transparent picture (invalid)</p></p><p style="color: rgb(51, 51, 51); font-family: tahoma, 宋体; font-size: 14px; line-height: 22.399999618530273px; text-align: justify; white-space: normal; background-color: rgb(250, 250, 252);"><p style="color: rgb(51, 51, 51); font-family: tahoma, 宋体; font-size: 14px; line-height: 22.399999618530273px; text-align: justify; white-space: normal; background-color: rgb(250, 250, 252);">android:background= "@android: color/transparent"</p></p><p style="color: rgb(51, 51, 51); font-family: tahoma, 宋体; font-size: 14px; line-height: 22.399999618530273px; text-align: justify; white-space: normal; background-color: rgb(250, 250, 252);"><p style="color: rgb(51, 51, 51); font-family: tahoma, 宋体; font-size: 14px; line-height: 22.399999618530273px; text-align: justify; white-space: normal; background-color: rgb(250, 250, 252);"><span>2.</span> Set the loaded <span>HTML</span> to be a transparent background image (invalid)</p></p><p style="color: rgb(51, 51, 51); font-family: tahoma, 宋体; font-size: 14px; line-height: 22.399999618530273px; text-align: justify; white-space: normal; background-color: rgb(250, 250, 252);"><p style="color: rgb(51, 51, 51); font-family: tahoma, 宋体; font-size: 14px; line-height: 22.399999618530273px; text-align: justify; white-space: normal; background-color: rgb(250, 250, 252);">String mobiledetails = "