TextView versionAndroidTextView = tabLayout.findViewById(R.id.about_version_android);
TextView versionSecurityPatchTextView = tabLayout.findViewById(R.id.about_version_securitypatch);
TextView versionBuildTextView = tabLayout.findViewById(R.id.about_version_build);
- TextView versionChromeTextView = tabLayout.findViewById(R.id.about_version_chrome);
+ TextView versionWebViewTextView = tabLayout.findViewById(R.id.about_version_webview);
TextView versionOrbotTextView = tabLayout.findViewById(R.id.about_version_orbot);
TextView versionEasyListTextView = tabLayout.findViewById(R.id.about_version_easylist);
TextView versionEasyPrivacyTextView = tabLayout.findViewById(R.id.about_version_easyprivacy);
String bootloaderLabel = getString(R.string.bootloader) + " ";
String androidLabel = getString(R.string.android) + " ";
String buildLabel = getString(R.string.build) + " ";
- String chromeLabel = getString(R.string.chrome) + " ";
+ String webViewLabel = getString(R.string.webview) + " ";
String easyListLabel = getString(R.string.easylist_label) + " ";
String easyPrivacyLabel = getString(R.string.easyprivacy_label) + " ";
String fanboyAnnoyanceLabel = getString(R.string.fanboy_annoyance_label) + " ";
String android = Build.VERSION.RELEASE + " (" + getString(R.string.api) + " " + Integer.toString(Build.VERSION.SDK_INT) + ")";
String build = Build.DISPLAY;
// Select the substring that begins after `Chrome/` and goes until the next ` `.
- String chrome = userAgentString.substring(userAgentString.indexOf("Chrome/") + 7, userAgentString.indexOf(" ", userAgentString.indexOf("Chrome/")));
+ String webView = userAgentString.substring(userAgentString.indexOf("Chrome/") + 7, userAgentString.indexOf(" ", userAgentString.indexOf("Chrome/")));
// Get the Orbot version name if Orbot is installed.
String orbot;
SpannableStringBuilder bootloaderStringBuilder = new SpannableStringBuilder(bootloaderLabel + bootloader);
SpannableStringBuilder androidStringBuilder = new SpannableStringBuilder(androidLabel + android);
SpannableStringBuilder buildStringBuilder = new SpannableStringBuilder(buildLabel + build);
- SpannableStringBuilder chromeStringBuilder = new SpannableStringBuilder(chromeLabel + chrome);
+ SpannableStringBuilder webViewStringBuilder = new SpannableStringBuilder(webViewLabel + webView);
SpannableStringBuilder easyListStringBuilder = new SpannableStringBuilder(easyListLabel + MainWebViewActivity.easyListVersion);
SpannableStringBuilder easyPrivacyStringBuilder = new SpannableStringBuilder(easyPrivacyLabel + MainWebViewActivity.easyPrivacyVersion);
SpannableStringBuilder fanboyAnnoyanceStringBuilder = new SpannableStringBuilder(fanboyAnnoyanceLabel + MainWebViewActivity.fanboysAnnoyanceVersion);
bootloaderStringBuilder.setSpan(blueColorSpan, bootloaderLabel.length(), bootloaderStringBuilder.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
androidStringBuilder.setSpan(blueColorSpan, androidLabel.length(), androidStringBuilder.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
buildStringBuilder.setSpan(blueColorSpan, buildLabel.length(), buildStringBuilder.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
- chromeStringBuilder.setSpan(blueColorSpan, chromeLabel.length(), chromeStringBuilder.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
+ webViewStringBuilder.setSpan(blueColorSpan, webViewLabel.length(), webViewStringBuilder.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
easyListStringBuilder.setSpan(blueColorSpan, easyListLabel.length(), easyListStringBuilder.length(), Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
easyPrivacyStringBuilder.setSpan(blueColorSpan, easyPrivacyLabel.length(), easyPrivacyStringBuilder.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
fanboyAnnoyanceStringBuilder.setSpan(blueColorSpan, fanboyAnnoyanceLabel.length(), fanboyAnnoyanceStringBuilder.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
versionBootloaderTextView.setText(bootloaderStringBuilder);
versionAndroidTextView.setText(androidStringBuilder);
versionBuildTextView.setText(buildStringBuilder);
- versionChromeTextView.setText(chromeStringBuilder);
+ versionWebViewTextView.setText(webViewStringBuilder);
versionEasyListTextView.setText(easyListStringBuilder);
versionEasyPrivacyTextView.setText(easyPrivacyStringBuilder);
versionFanboyAnnoyanceTextView.setText(fanboyAnnoyanceStringBuilder);
<string name="error_body">Fehler</string>
<string name="about_view_source">Über Quelltext</string>
<string name="about_view_source_message">Weil Androids WebView keine Quelltext-Informationen zur Verfügung stellt, muss eine separate a separate Serveranfrage mit system tools gestellt werden,
- die hier dargestellten Daten erhält. Deshalb können Unterschiede zwischen diesen Daten und der mit Webview dargestellten Webseite auftreten.
+ die hier dargestellten Daten erhält. Deshalb können Unterschiede zwischen diesen Daten und der mit WebView dargestellten Webseite auftreten.
Es ist geplant, mit Version 4.x eine eigene Engine einzuführen, die diese Einschränkungen umgeht.</string>
<!-- Create Home Screen Shortcut Alert Dialog. -->
<string name="api">API</string>
<string name="build">Build:</string>
<string name="security_patch">Sicherheits-Patch:</string>
- <string name="chrome">Chrome:</string>
+ <string name="webview">WebView:</string>
<string name="orbot">Orbot:</string>
<string name="easylist_label">EasyList:</string>
<string name="easyprivacy_label">EasyPrivacy:</string>