Hello. I have an android app that I want to make only cover part of the screen. I tried
android.view.WindowManager.LayoutParams params = getWindow().getAttributes();
params.x = -100;
params.height = 300;
params.width = 1000;
params.y = -50;
this.getWindow().setAttributes(params);
This changed the size of my app, but the app is still covering the full screen. How can I shrink the entire app including the background. Thanks bye.
android.view.WindowManager.LayoutParams params = getWindow().getAttributes();
params.x = -100;
params.height = 300;
params.width = 1000;
params.y = -50;
this.getWindow().setAttributes(params);
This changed the size of my app, but the app is still covering the full screen. How can I shrink the entire app including the background. Thanks bye.