Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ public View cardFactory(JSONObject card) {
return c.getView();
} else if (type.equals("html")) {
WebView wv = new WebView(service);
wv.setBackgroundColor(0);
wv.setInitialScale(100);
String body = "<html style='width:100%; height:100%; overflow:hidden; background-color:#000000'><head><link href='roboto.css' rel='stylesheet' type='text/css'><link rel='stylesheet' href='base_style.css'></head><body style='width:100%; height:100%; overflow:hidden; margin:0'>" + card.get("html") + "</body></html>";
Log.d(TAG, body);
Expand Down