docs: public static boolean isSystemBarOnBottom(Context ctx) {
          WindowManager wm = (WindowManager) ctx.getSystemService(Context.WINDOW_SERVICE);
          DisplayMetrics metrics = new DisplayMetrics();
          wm.getDefaultDisplay().getMetrics(metrics);
          Configuration cfg = ctx.getResources().getConfiguration();
          boolean canMove = (metrics.widthPixels != metrics.heightPixels &&
                  cfg.smallestScreenWidthDp < 600);
  
          return (!canMove || metrics.widthPixels < metrics.heightPixels);
      }