[FREE] Smart MiniTools Extension V2 :⚒️ with color picker ⚒️⚙️⚙️

You should give screenshots.

I’ll take a video of it in a sec
but simply the normal behavior of android is when the keyboard is shown the usable screen space shrinks and you can scroll to the last pixel in vertical scroll arrangement for example
but after full screen is triggered now the keyboard just shows as an overlay and the content behind it is not accessible… it doesn’t scroll to make the text field be at the top of the keyboard or any of the normal activities that should happen…
BTW this happens with all the ways to make the status bar invisible that I’ve tried in the last like two years

I’d hope that we have the ability to just make the status and navigation bars invisible without being in full screen mode that’s all (as I think full screen mode is the reason for this behavior but I’m not sure about it).

MethodBlock14

I am also confused how can I help you?

Code for this block -

  @SimpleFunction(description = "Set fully transparent status bar and navigation bar. Required api level should be greater than or equal to KITKAT.")
  public void SetFullScreen(){
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
      Window w = activity.getWindow();
      w.setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,
              WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);

      if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
        w.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
      }
    }
  }

May it will help and i am preparing for my exam. But i will try to help soon.

Best of luck :raised_hands:

look up this simple fix I think it will fix this issue

1 Like

and can this be set with activity starter? if so it would be amazing I’ve been trying to do it with no luck
@Taifun maybe you know :slightly_smiling_face:

hey I was trying to make the extension myself but I’m stuck on getting the activity which I believe should be the main activity but how to do it?

private final Activity activity;
activity= container.$context();

thank you…
I tried my best nothing seems to actually fix the issue
now I got something like this which doesn’t keep the app stuck in fullscreen in the companion even if the block is removed as before… anyway it didn’t satisfy me :broken_heart:

  @SimpleFunction
  public void SetFull() {
    Window w = activity.getWindow();
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
      w.clearFlags(LayoutParams.FLAG_TRANSLUCENT_STATUS
              | LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);
    }
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
      if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
        w.getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
                | View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
      }
    }
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
      w.addFlags(LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
    }
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
      w.setStatusBarColor(Color.TRANSPARENT);
    }
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
      w.setNavigationBarColor(Color.TRANSPARENT);
    }
  }

i use this extension for applying wallpaper and i face the issues
my device Realme 3 pro android 11
when wallpaper set on home screen then the wallpaper set on both home as well as lock screen

but lock screen work fine

Set Wallpaper Error