Remove the eula from the strings and placed it instead as a file into the Assets folder.

We found that using the loadUrl WebView's method instead of loadData renders the html page better, for that reason the eula is now saved as a fule in the assets folder and loaded using the WebView's loadUrl method.
develop
Severiano Jaramillo 2019-01-02 14:29:29 -06:00
parent d04e847bba
commit b12b3b9546
3 changed files with 2 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -70,12 +70,7 @@ public class LicenseActivity extends AppCompatActivity {
finish();
}
else{
/*
* Load the licence only if it is necesarry
* */
String html = getString(R.string.licence_html);
wvEULA.loadData(html, "text/html", "UTF-8");
wvEULA.loadUrl("file:///android_asset/crystal_eula.html");
}
}

File diff suppressed because one or more lines are too long