Skip to content

Commit

Permalink
fixed some things
Browse files Browse the repository at this point in the history
  • Loading branch information
Celestial04 committed Aug 1, 2024
1 parent 2082eed commit 4936f78
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions app/src/main/java/com/bouillie/web/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 -> {
Expand Down

0 comments on commit 4936f78

Please sign in to comment.