From 2082eedf27a6246ff56d27dbb0c906b9f4f7d158 Mon Sep 17 00:00:00 2001 From: Celestial04 Date: Thu, 1 Aug 2024 14:38:58 +0200 Subject: [PATCH] fixed some things --- app/src/main/java/com/bouillie/web/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/bouillie/web/MainActivity.java b/app/src/main/java/com/bouillie/web/MainActivity.java index 26f89a0..dc14b02 100644 --- a/app/src/main/java/com/bouillie/web/MainActivity.java +++ b/app/src/main/java/com/bouillie/web/MainActivity.java @@ -52,6 +52,7 @@ import java.util.Map; public class MainActivity extends AppCompatActivity { + private HorizontalScrollView scroll; private AlertDialog alert2; private int selectedTheme; @@ -93,7 +94,6 @@ protected void onCreate(Bundle savedInstanceState) { Button leftButton = findViewById(R.id.leftButton); Button rightButton = findViewById(R.id.rightButton); LinearLayout linearLayout2 = findViewById(R.id.scrollvv); - scroll.fullScroll(View.FOCUS_DOWN); WebView webView = findViewById(R.id.webview); webView.getSettings().setJavaScriptEnabled(true); webView.setWebViewClient(new WebViewClient() {