move html to res/raw to enable localization
This commit is contained in:
parent
7a44e467f0
commit
9540b252a5
|
@ -24,7 +24,7 @@ public class AboutActivity extends AppCompatActivity {
|
|||
|
||||
WebView webview_about = findViewById(R.id.webview_about);
|
||||
|
||||
webview_about.loadUrl("file:////android_asset/about.html");
|
||||
webview_about.loadUrl("file:///android_res/raw/about.html");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ public class HelpActivity extends AppCompatActivity {
|
|||
|
||||
WebView webview_help = findViewById(R.id.webview_help);
|
||||
|
||||
webview_help.loadUrl("file:////android_asset/help.html");
|
||||
webview_help.loadUrl("file:////android_res/raw/help.html");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
<string name="url_setting">Which URL to scrape</string>
|
||||
<string name="url_setting_summary">
|
||||
Using m.facebook.com is more stable and faster. Using www.facebook.com works better with multiple instance events but will eventually break when facebook disables the classic design.
|
||||
Using m.facebook.com is more stable and faster. Using www.facebook.com works better with multiple instance events and will display a high resolution preview but will eventually break when facebook disables the classic design.
|
||||
</string>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue