From 2ecc90a4e9be4f89be8c3ca1017433fe1abf0d80 Mon Sep 17 00:00:00 2001 From: Declan Chidlow Date: Thu, 15 Oct 2026 12:43:52 +0800 Subject: [PATCH] Many more feature toggles --- README.md | 2 +- .../java/rocks/vale/webview/MainActivity.kt | 48 +++++++++- .../vale/webview/config/BrowserConfig.kt | 27 ++++++ .../rocks/vale/webview/config/CacheMode.kt | 19 ++++ .../rocks/vale/webview/config/ConfigKeys.kt | 19 ++++ .../rocks/vale/webview/config/ConfigStore.kt | 28 +++++- .../settings/BrowserSettingsFragment.kt | 51 ++++++++++ .../rocks/vale/webview/util/WebViewSupport.kt | 35 +++++++ app/src/main/res/values/arrays.xml | 17 ++++ app/src/main/res/values/strings.xml | 40 ++++++++ app/src/main/res/xml/preferences.xml | 96 +++++++++++++++++++ .../vale/webview/config/CacheModeTest.kt | 22 +++++ 12 files changed, 401 insertions(+), 3 deletions(-) create mode 100644 app/src/main/java/rocks/vale/webview/config/CacheMode.kt create mode 100644 app/src/main/java/rocks/vale/webview/util/WebViewSupport.kt create mode 100644 app/src/main/res/values/arrays.xml create mode 100644 app/src/test/java/rocks/vale/webview/config/CacheModeTest.kt diff --git a/README.md b/README.md index 7fe067c..4e80861 100755 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Android has system WebViews that differ in subtle ways from typical browsers. Th - **Navigation**: Forward, back, refresh, address bar. - **WebView Information**: View your WebView provider, version, and user-agent. -- **Allow/Disallow Features**: Control over JavaScript, DOM storage, and image loading. +- **Allow/Disallow Features**: Control over JavaScript, DOM storage, image loading, media autoplay, caching and more. - **Privacy/Security Options**: Manage cookies, allow invalid certificates, and more. - **User-Agent Customisation**: Edit your user-agent as you desire. - **Material You**: Follows your system palette on Android 12 and newer. diff --git a/app/src/main/java/rocks/vale/webview/MainActivity.kt b/app/src/main/java/rocks/vale/webview/MainActivity.kt index 33cc42e..7a29674 100755 --- a/app/src/main/java/rocks/vale/webview/MainActivity.kt +++ b/app/src/main/java/rocks/vale/webview/MainActivity.kt @@ -30,12 +30,14 @@ import androidx.webkit.UserAgentMetadata import com.google.android.material.snackbar.Snackbar import rocks.vale.webview.about.AboutActivity import rocks.vale.webview.config.BrowserConfig +import rocks.vale.webview.config.CacheMode import rocks.vale.webview.config.ConfigStore import rocks.vale.webview.databinding.ActivityMainBinding import rocks.vale.webview.settings.SettingsActivity import rocks.vale.webview.ui.BrowserChromeView import rocks.vale.webview.util.UrlUtils import rocks.vale.webview.util.UserAgent +import rocks.vale.webview.util.WebViewSupport import rocks.vale.webview.util.applyEdgeToEdgeInsets import rocks.vale.webview.util.copyToClipboard @@ -139,7 +141,10 @@ class MainActivity : AppCompatActivity(), BrowserChromeView.Listener { appliedConfig = config applyWebSettings(config) - CookieManager.getInstance().setAcceptThirdPartyCookies(webView, config.thirdPartyCookies) + CookieManager.getInstance().apply { + setAcceptThirdPartyCookies(webView, config.thirdPartyCookies) + setAcceptCookie(!config.blockCookies) + } if (previous != null && previous != config) { webView.reload() @@ -147,6 +152,7 @@ class MainActivity : AppCompatActivity(), BrowserChromeView.Listener { } @SuppressLint("SetJavaScriptEnabled") + @Suppress("DEPRECATION") private fun applyWebSettings(config: BrowserConfig) { // Runs first, so the platform's own client hints are read before the user agent is replaced. applyUserAgentMetadata(config) @@ -158,10 +164,17 @@ class MainActivity : AppCompatActivity(), BrowserChromeView.Listener { javaScriptEnabled = config.javaScriptEnabled domStorageEnabled = config.domStorageEnabled blockNetworkImage = !config.loadImages + blockNetworkLoads = config.blockNetworkLoads + mediaPlaybackRequiresUserGesture = config.mediaPlaybackRequiresGesture textZoom = config.effectiveTextZoom + defaultFontSize = config.defaultFontSize + minimumFontSize = config.minimumFontSize + defaultTextEncodingName = config.effectiveTextEncoding + setSupportZoom(config.supportZoom) displayZoomControls = config.showZoomControls useWideViewPort = config.useWideViewPort loadWithOverviewMode = config.useWideViewPort + cacheMode = config.cacheMode.toWebSettingsCacheMode() mixedContentMode = if (config.allowMixedContent) { WebSettings.MIXED_CONTENT_ALWAYS_ALLOW } else { @@ -169,6 +182,16 @@ class MainActivity : AppCompatActivity(), BrowserChromeView.Listener { } // null restores the WebView's own user agent. userAgentString = userAgent + allowFileAccess = config.allowFileAccess + allowContentAccess = config.allowContentAccess + + // Deprecated storage APIs. Only applied where the running OS or WebView still honours them, which is the same condition that decides whether their settings rows exist. + if (WebViewSupport.supportsSaveFormData()) { + saveFormData = config.saveFormData + } + if (WebViewSupport.supportsWebSql(this@MainActivity)) { + databaseEnabled = config.webSqlEnabled + } // Fixed behaviour rather than user options. builtInZoomControls = true @@ -178,6 +201,8 @@ class MainActivity : AppCompatActivity(), BrowserChromeView.Listener { } applyAlgorithmicDarkening(config.algorithmicDarkening) + applySafeBrowsing(config.safeBrowsing) + applyMuteAudio(config.muteAudio) } /** @@ -203,6 +228,19 @@ class MainActivity : AppCompatActivity(), BrowserChromeView.Listener { } } + /** Safe Browsing is only reachable through androidx.webkit on newer WebView builds. */ + private fun applySafeBrowsing(enabled: Boolean) { + if (WebViewFeature.isFeatureSupported(WebViewFeature.SAFE_BROWSING_ENABLE)) { + WebSettingsCompat.setSafeBrowsingEnabled(webView.settings, enabled) + } + } + + private fun applyMuteAudio(muted: Boolean) { + if (WebViewFeature.isFeatureSupported(WebViewFeature.MUTE_AUDIO)) { + WebViewCompat.setAudioMuted(webView, muted) + } + } + override fun onBackClicked() { if (webView.canGoBack()) webView.goBack() } @@ -411,3 +449,11 @@ class MainActivity : AppCompatActivity(), BrowserChromeView.Listener { val SUPPORTED_SCHEMES = setOf("http", "https", "file", "about", "data", "blob", "javascript") } } + +/** Keeps `BrowserConfig` free of WebView types by mapping the stored cache mode at the edge. */ +private fun CacheMode.toWebSettingsCacheMode(): Int = when (this) { + CacheMode.DEFAULT -> WebSettings.LOAD_DEFAULT + CacheMode.NO_CACHE -> WebSettings.LOAD_NO_CACHE + CacheMode.CACHE_ONLY -> WebSettings.LOAD_CACHE_ONLY + CacheMode.CACHE_ELSE_NETWORK -> WebSettings.LOAD_CACHE_ELSE_NETWORK +} diff --git a/app/src/main/java/rocks/vale/webview/config/BrowserConfig.kt b/app/src/main/java/rocks/vale/webview/config/BrowserConfig.kt index 3d02669..ff38988 100755 --- a/app/src/main/java/rocks/vale/webview/config/BrowserConfig.kt +++ b/app/src/main/java/rocks/vale/webview/config/BrowserConfig.kt @@ -12,15 +12,29 @@ data class BrowserConfig( val javaScriptEnabled: Boolean, val domStorageEnabled: Boolean, val loadImages: Boolean, + val blockNetworkLoads: Boolean, + val mediaPlaybackRequiresGesture: Boolean, + val muteAudio: Boolean, val desktopMode: Boolean, val userAgentOverride: String, val textZoom: Int, + val defaultFontSize: Int, + val minimumFontSize: Int, + val supportZoom: Boolean, val showZoomControls: Boolean, val useWideViewPort: Boolean, + val textEncoding: String, val algorithmicDarkening: Boolean, + val cacheMode: CacheMode, val thirdPartyCookies: Boolean, + val blockCookies: Boolean, + val safeBrowsing: Boolean, val allowMixedContent: Boolean, val allowInvalidCertificates: Boolean, + val allowFileAccess: Boolean, + val allowContentAccess: Boolean, + val saveFormData: Boolean, + val webSqlEnabled: Boolean, ) { /** @@ -30,6 +44,10 @@ data class BrowserConfig( val effectiveTextZoom: Int get() = textZoom.coerceIn(MIN_TEXT_ZOOM, MAX_TEXT_ZOOM) + /** A cleared field means 'not set', which must not leave the WebView decoding with a blank name. */ + val effectiveTextEncoding: String + get() = textEncoding.ifBlank { DEFAULT_TEXT_ENCODING } + companion object { /** Blank by default, so the app opens empty and the first navigation is deliberate. */ const val DEFAULT_HOMEPAGE = "" @@ -40,5 +58,14 @@ data class BrowserConfig( const val MIN_TEXT_ZOOM = 50 const val MAX_TEXT_ZOOM = 200 + + const val DEFAULT_FONT_SIZE = 16 + const val MIN_FONT_SIZE = 8 + const val MAX_FONT_SIZE = 32 + + const val DEFAULT_MINIMUM_FONT_SIZE = 0 + const val MAX_MINIMUM_FONT_SIZE = 24 + + const val DEFAULT_TEXT_ENCODING = "UTF-8" } } diff --git a/app/src/main/java/rocks/vale/webview/config/CacheMode.kt b/app/src/main/java/rocks/vale/webview/config/CacheMode.kt new file mode 100644 index 0000000..5f6dc71 --- /dev/null +++ b/app/src/main/java/rocks/vale/webview/config/CacheMode.kt @@ -0,0 +1,19 @@ +package rocks.vale.webview.config + +/** + * Backing values for the cache-mode list. The mapping onto `android.webkit.WebSettings` constants + * lives in the UI layer, which is the only place that should know about WebView. + */ +enum class CacheMode { + DEFAULT, + NO_CACHE, + CACHE_ONLY, + CACHE_ELSE_NETWORK, + ; + + companion object { + /** Falls back to [DEFAULT] so an unknown or missing stored value cannot break loading. */ + fun fromKey(key: String?): CacheMode = + values().firstOrNull { it.name == key } ?: DEFAULT + } +} diff --git a/app/src/main/java/rocks/vale/webview/config/ConfigKeys.kt b/app/src/main/java/rocks/vale/webview/config/ConfigKeys.kt index 007784e..8cfbd42 100755 --- a/app/src/main/java/rocks/vale/webview/config/ConfigKeys.kt +++ b/app/src/main/java/rocks/vale/webview/config/ConfigKeys.kt @@ -14,19 +14,38 @@ object ConfigKeys { const val JAVASCRIPT_ENABLED = "javascript_enabled" const val DOM_STORAGE_ENABLED = "dom_storage_enabled" const val LOAD_IMAGES = "load_images" + const val BLOCK_NETWORK_LOADS = "block_network_loads" + const val MEDIA_PLAYBACK_REQUIRES_GESTURE = "media_playback_requires_gesture" + const val MUTE_AUDIO = "mute_audio" // Display const val DESKTOP_MODE = "desktop_mode" const val USER_AGENT = "user_agent" const val TEXT_ZOOM = "text_zoom" + const val DEFAULT_FONT_SIZE = "default_font_size" + const val MINIMUM_FONT_SIZE = "minimum_font_size" + const val SUPPORT_ZOOM = "support_zoom" const val SHOW_ZOOM_CONTROLS = "show_zoom_controls" const val USE_WIDE_VIEWPORT = "use_wide_viewport" + const val DEFAULT_TEXT_ENCODING = "default_text_encoding" const val ALGORITHMIC_DARKENING = "algorithmic_darkening" // Privacy and security const val THIRD_PARTY_COOKIES = "third_party_cookies" + const val BLOCK_COOKIES = "block_cookies" + const val SAFE_BROWSING = "safe_browsing" const val ALLOW_MIXED_CONTENT = "allow_mixed_content" const val ALLOW_INVALID_CERTIFICATES = "allow_invalid_certificates" + const val ALLOW_FILE_ACCESS = "allow_file_access" + const val ALLOW_CONTENT_ACCESS = "allow_content_access" + + // Advanced + const val CACHE_MODE = "cache_mode" + + // Legacy behaviour. These rows are hidden unless the running OS or WebView still honours them. + const val SAVE_FORM_DATA = "save_form_data" + const val WEBSQL_ENABLED = "websql_enabled" + const val LEGACY_CATEGORY = "legacy_category" // Action rows: never persisted, they only need an id to be found in the fragment. const val COPY_USER_AGENT = "copy_user_agent" diff --git a/app/src/main/java/rocks/vale/webview/config/ConfigStore.kt b/app/src/main/java/rocks/vale/webview/config/ConfigStore.kt index 70d6753..51bc36c 100755 --- a/app/src/main/java/rocks/vale/webview/config/ConfigStore.kt +++ b/app/src/main/java/rocks/vale/webview/config/ConfigStore.kt @@ -25,18 +25,44 @@ class ConfigStore(context: Context) { javaScriptEnabled = preferences.getBoolean(ConfigKeys.JAVASCRIPT_ENABLED, true), domStorageEnabled = preferences.getBoolean(ConfigKeys.DOM_STORAGE_ENABLED, true), loadImages = preferences.getBoolean(ConfigKeys.LOAD_IMAGES, true), + blockNetworkLoads = preferences.getBoolean(ConfigKeys.BLOCK_NETWORK_LOADS, false), + mediaPlaybackRequiresGesture = preferences.getBoolean( + ConfigKeys.MEDIA_PLAYBACK_REQUIRES_GESTURE, + true, + ), + muteAudio = preferences.getBoolean(ConfigKeys.MUTE_AUDIO, false), desktopMode = preferences.getBoolean(ConfigKeys.DESKTOP_MODE, false), userAgentOverride = preferences.getString(ConfigKeys.USER_AGENT, null).orEmpty(), textZoom = preferences.getInt(ConfigKeys.TEXT_ZOOM, BrowserConfig.DEFAULT_TEXT_ZOOM), + defaultFontSize = preferences.getInt( + ConfigKeys.DEFAULT_FONT_SIZE, + BrowserConfig.DEFAULT_FONT_SIZE, + ), + minimumFontSize = preferences.getInt( + ConfigKeys.MINIMUM_FONT_SIZE, + BrowserConfig.DEFAULT_MINIMUM_FONT_SIZE, + ), + supportZoom = preferences.getBoolean(ConfigKeys.SUPPORT_ZOOM, true), showZoomControls = preferences.getBoolean(ConfigKeys.SHOW_ZOOM_CONTROLS, false), useWideViewPort = preferences.getBoolean(ConfigKeys.USE_WIDE_VIEWPORT, true), + textEncoding = preferences.getString( + ConfigKeys.DEFAULT_TEXT_ENCODING, + BrowserConfig.DEFAULT_TEXT_ENCODING, + ).orEmpty(), algorithmicDarkening = preferences.getBoolean(ConfigKeys.ALGORITHMIC_DARKENING, false), + cacheMode = CacheMode.fromKey(preferences.getString(ConfigKeys.CACHE_MODE, null)), thirdPartyCookies = preferences.getBoolean(ConfigKeys.THIRD_PARTY_COOKIES, true), + blockCookies = preferences.getBoolean(ConfigKeys.BLOCK_COOKIES, false), + safeBrowsing = preferences.getBoolean(ConfigKeys.SAFE_BROWSING, true), allowMixedContent = preferences.getBoolean(ConfigKeys.ALLOW_MIXED_CONTENT, false), allowInvalidCertificates = preferences.getBoolean( ConfigKeys.ALLOW_INVALID_CERTIFICATES, - false + false, ), + allowFileAccess = preferences.getBoolean(ConfigKeys.ALLOW_FILE_ACCESS, false), + allowContentAccess = preferences.getBoolean(ConfigKeys.ALLOW_CONTENT_ACCESS, true), + saveFormData = preferences.getBoolean(ConfigKeys.SAVE_FORM_DATA, true), + webSqlEnabled = preferences.getBoolean(ConfigKeys.WEBSQL_ENABLED, false), ) /** Drops every stored value so the next [load] returns the defaults again. */ diff --git a/app/src/main/java/rocks/vale/webview/settings/BrowserSettingsFragment.kt b/app/src/main/java/rocks/vale/webview/settings/BrowserSettingsFragment.kt index 3bc174d..37c38df 100755 --- a/app/src/main/java/rocks/vale/webview/settings/BrowserSettingsFragment.kt +++ b/app/src/main/java/rocks/vale/webview/settings/BrowserSettingsFragment.kt @@ -7,14 +7,18 @@ import android.webkit.WebView import androidx.annotation.StringRes import androidx.appcompat.app.AlertDialog import androidx.preference.Preference +import androidx.preference.PreferenceCategory import androidx.preference.PreferenceFragmentCompat +import androidx.preference.PreferenceGroup import androidx.preference.SeekBarPreference +import androidx.webkit.WebViewFeature import com.google.android.material.snackbar.Snackbar import rocks.vale.webview.R import rocks.vale.webview.config.BrowserConfig import rocks.vale.webview.config.ConfigKeys import rocks.vale.webview.config.ConfigStore import rocks.vale.webview.util.UserAgent +import rocks.vale.webview.util.WebViewSupport import rocks.vale.webview.util.copyToClipboard // Renders `res/xml/preferences.xml`. @@ -26,6 +30,7 @@ class BrowserSettingsFragment : PreferenceFragmentCompat() { override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) { setPreferencesFromResource(R.xml.preferences, rootKey) bindActionRows() + pruneUnsupportedPreferences() } private fun bindActionRows() { @@ -46,6 +51,51 @@ class BrowserSettingsFragment : PreferenceFragmentCompat() { min = BrowserConfig.MIN_TEXT_ZOOM max = BrowserConfig.MAX_TEXT_ZOOM } + findPreference(ConfigKeys.DEFAULT_FONT_SIZE)?.apply { + min = BrowserConfig.MIN_FONT_SIZE + max = BrowserConfig.MAX_FONT_SIZE + } + findPreference(ConfigKeys.MINIMUM_FONT_SIZE)?.apply { + min = BrowserConfig.DEFAULT_MINIMUM_FONT_SIZE + max = BrowserConfig.MAX_MINIMUM_FONT_SIZE + } + } + + /** + * Removes rows whose backing WebView API is unavailable, so the screen never offers a switch that + * silently does nothing. The matching options are still read from and written to storage; only + * their UI is withheld. + */ + private fun pruneUnsupportedPreferences() { + if (!WebViewFeature.isFeatureSupported(WebViewFeature.ALGORITHMIC_DARKENING)) { + removePreference(ConfigKeys.ALGORITHMIC_DARKENING) + } + if (!WebViewFeature.isFeatureSupported(WebViewFeature.SAFE_BROWSING_ENABLE)) { + removePreference(ConfigKeys.SAFE_BROWSING) + } + if (!WebViewFeature.isFeatureSupported(WebViewFeature.MUTE_AUDIO)) { + removePreference(ConfigKeys.MUTE_AUDIO) + } + if (!WebViewSupport.supportsSaveFormData()) { + removePreference(ConfigKeys.SAVE_FORM_DATA) + } + if (!WebViewSupport.supportsWebSql(requireContext())) { + removePreference(ConfigKeys.WEBSQL_ENABLED) + } + removeLegacyCategoryIfEmpty() + } + + private fun removePreference(key: String) { + val preference = findPreference(key) ?: return + (preference.parent as? PreferenceGroup)?.removePreference(preference) + } + + /** Drops the whole category once every legacy row inside it has been pruned. */ + private fun removeLegacyCategoryIfEmpty() { + val category = findPreference(ConfigKeys.LEGACY_CATEGORY) ?: return + if (category.preferenceCount == 0) { + preferenceScreen?.removePreference(category) + } } private fun copyCurrentUserAgent() { @@ -96,6 +146,7 @@ class BrowserSettingsFragment : PreferenceFragmentCompat() { // Re-inflating is what clears the widgets back to their declared defaults. setPreferencesFromResource(R.xml.preferences, null) bindActionRows() + pruneUnsupportedPreferences() snack(R.string.settings_reset_done) } diff --git a/app/src/main/java/rocks/vale/webview/util/WebViewSupport.kt b/app/src/main/java/rocks/vale/webview/util/WebViewSupport.kt new file mode 100644 index 0000000..375152a --- /dev/null +++ b/app/src/main/java/rocks/vale/webview/util/WebViewSupport.kt @@ -0,0 +1,35 @@ +package rocks.vale.webview.util + +import android.content.Context +import android.os.Build +import androidx.webkit.WebViewCompat + +/** + * Probes for WebView behaviour that depends on the installed WebView or the OS version, used to hide + * settings rows that would otherwise be switches that do nothing. + * + * Note the two different axes: WebView updates independently of the OS, so features Chromium removed + * are gated on the WebView version rather than [Build.VERSION.SDK_INT]. + */ +object WebViewSupport { + + /** Chromium removed WebSQL, the WebView database storage API, in version 119. */ + private const val WEB_SQL_REMOVAL_VERSION = 119 + + /** + * Whether the WebView still honours `setSaveFormData`. + * The platform's Autofill replaced it in Android 8 (API 26), above which the call has no effect. + */ + fun supportsSaveFormData(): Boolean = Build.VERSION.SDK_INT <= Build.VERSION_CODES.N_MR1 + + /** + * Whether the installed WebView still ships the WebSQL database storage API. + * Unknown providers are treated as unsupported so the row is never shown for a dead switch. + */ + fun supportsWebSql(context: Context): Boolean { + val version = WebViewCompat.getCurrentWebViewPackage(context)?.versionName ?: return false + val major = version.substringBefore('.').toIntOrNull() ?: return false + + return major < WEB_SQL_REMOVAL_VERSION + } +} diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml new file mode 100644 index 0000000..460f69e --- /dev/null +++ b/app/src/main/res/values/arrays.xml @@ -0,0 +1,17 @@ + + + + + @string/settings_cache_mode_default + @string/settings_cache_mode_no_cache + @string/settings_cache_mode_cache_only + @string/settings_cache_mode_cache_first + + + + DEFAULT + NO_CACHE + CACHE_ONLY + CACHE_ELSE_NETWORK + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1917b91..e5c3a7f 100755 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -90,6 +90,46 @@ Reset Settings reset to defaults + + Block network loads + Stop pages loading anything from the network. A page will only load if it is fully cached. + Require tap to play media + Stop pages from autoplaying audio and video. + Mute audio + Silence all audio from every page. + + + Default font size + Minimum font size + Allow zoom + Let pages be pinch-zoomed. + Text encoding + Encoding used for pages that do not declare one. + + + Block all cookies + Refuse cookies from every site, including the current one. + Safe Browsing + Warn before loading pages on Google\'s list of dangerous sites. + Allow file access + Let pages load file:// URLs, including files outside the app. + Allow content access + Let pages load content:// URLs from other apps. + + + Legacy behaviour + Save form data + Remember values typed into forms. Has no effect on Android 8 and later, where Autofill handles this. + WebSQL database storage + Enable the deprecated WebSQL API. Takes effect after a restart. + + + Cache mode + Default (use HTTP headers) + No cache (always fetch) + Cache only (never fetch) + Cache first (allow stale) + About Version %1$s diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index e2154d7..89ff834 100755 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -3,6 +3,9 @@ Keys must match rocks.vale.webview.config.ConfigKeys and defaults must match rocks.vale.webview.config.ConfigStore, because the WebView and this screen share one store. + + Rows whose WebView API is unavailable are removed at runtime by BrowserSettingsFragment, so no + switch here is ever dead. --> @@ -44,6 +47,24 @@ app:summary="@string/settings_load_images_summary" app:title="@string/settings_load_images_title" /> + + + + + + @@ -73,6 +94,24 @@ app:showSeekBarValue="true" app:title="@string/settings_text_zoom_title" /> + + + + + + + + + + + + + + + + + + + + + + + + + +