summaryrefslogtreecommitdiff
path: root/wipfel-droid/app/src/main/kotlin/org/flpsed
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-27 18:52:51 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-27 18:52:51 +0100
commit2d3cba97ff6ffbfe094ed0045329d875c6d1960b (patch)
tree9662970fe087a04cc7f8b5f1dbc641590859093f /wipfel-droid/app/src/main/kotlin/org/flpsed
parentbaaa5e615df53beb2199f562f95490f1796a0557 (diff)
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.
Diffstat (limited to 'wipfel-droid/app/src/main/kotlin/org/flpsed')
-rw-r--r--wipfel-droid/app/src/main/kotlin/org/flpsed/wipfel/MainActivity.kt1
1 files changed, 1 insertions, 0 deletions
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