From 2d3cba97ff6ffbfe094ed0045329d875c6d1960b Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 27 Oct 2026 18:52:51 +0100 Subject: wipfel-droid: NoActionBar theme, dark webview background The default Activity theme added a framework action bar that covered the app's own chrome; the WebView now fills the window and matches the site background to avoid a white flash. --- wipfel-droid/app/src/main/kotlin/org/flpsed/wipfel/MainActivity.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'wipfel-droid/app/src/main/kotlin/org/flpsed') diff --git a/wipfel-droid/app/src/main/kotlin/org/flpsed/wipfel/MainActivity.kt b/wipfel-droid/app/src/main/kotlin/org/flpsed/wipfel/MainActivity.kt index ae2485d..3340104 100644 --- a/wipfel-droid/app/src/main/kotlin/org/flpsed/wipfel/MainActivity.kt +++ b/wipfel-droid/app/src/main/kotlin/org/flpsed/wipfel/MainActivity.kt @@ -21,6 +21,7 @@ class MainActivity : Activity() { super.onCreate(savedInstanceState) web = WebView(this) + web.setBackgroundColor(android.graphics.Color.parseColor("#141418")) setContentView(web) with(web.settings) { javaScriptEnabled = true -- cgit v1.2.3