theme stuff

This commit is contained in:
izzy2lost
2025-08-25 00:17:24 -04:00
parent c95ca30e1e
commit 861c5f778f
6 changed files with 145 additions and 13 deletions
@@ -11,6 +11,7 @@ import android.os.Bundle;
import android.text.TextUtils;
import android.net.Uri;
import android.view.InputDevice;
import android.view.InputEvent;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
@@ -88,6 +89,10 @@ public class MainActivity extends AppCompatActivity implements GamesCoverDialogF
applyConstraintsForOrientation(newConfig.orientation);
}
private void applyConstraintsForOrientation(int orientation) {
// Views present in both layouts
View quick = findViewById(R.id.ll_quick_actions);
@@ -365,6 +370,10 @@ public class MainActivity extends AppCompatActivity implements GamesCoverDialogF
getOnBackPressedDispatcher().addCallback(this, callback);
}
private void makeButtonTouch() {
MaterialButton btn_file = findViewById(R.id.btn_file);
if(btn_file != null) {