From 4936f783aebad429f27a584f8e9f1076b40d93b9 Mon Sep 17 00:00:00 2001 From: Celestial04 Date: Thu, 1 Aug 2024 14:40:13 +0200 Subject: [PATCH] fixed some things --- .../java/com/bouillie/web/MainActivity.java | 31 ------------------- 1 file changed, 31 deletions(-) diff --git a/app/src/main/java/com/bouillie/web/MainActivity.java b/app/src/main/java/com/bouillie/web/MainActivity.java index dc14b02..44d0948 100644 --- a/app/src/main/java/com/bouillie/web/MainActivity.java +++ b/app/src/main/java/com/bouillie/web/MainActivity.java @@ -106,37 +106,6 @@ public boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request } }); - topButton.setOnClickListener(new View.OnClickListener() { - @Override - public void onClick(View v) { - // Scroll to the top - scroll.fullScroll(View.FOCUS_UP); - } - }); - - bottomButton.setOnClickListener(new View.OnClickListener() { - @Override - public void onClick(View v) { - // Scroll to the bottom - scroll.fullScroll(View.FOCUS_DOWN); - } - }); - - leftButton.setOnClickListener(new View.OnClickListener() { - @Override - public void onClick(View v) { - // Scroll to the left - scroll.fullScroll(View.FOCUS_LEFT); - } - }); - - rightButton.setOnClickListener(new View.OnClickListener() { - @Override - public void onClick(View v) { - // Scroll to the right - scroll.fullScroll(View.FOCUS_RIGHT); - } - }); Button soundButton = findViewById(R.id.soundButton); soundButton.setOnClickListener(v -> {