quote="Durgesh, post:1, topic:175597"]
getting issue with shrink issue , my device is oneplus 115g , android 16
[/quote]
@jis
Opening the keyboard should not turn Fixed mode into effectively Responsive mode.
References
SDK 36 update commit:
committed 02:29PM - 28 Aug 26 UTC
Change-Id: I2c42cfb47f5a597728f25ef4b27602d454cb721e
Form.java:
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2021 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.components.runtime;
import static android.Manifest.permission.BLUETOOTH_ADVERTISE;
import static android.Manifest.permission.BLUETOOTH_CONNECT;
import static android.Manifest.permission.BLUETOOTH_SCAN;
import static android.Manifest.permission.INTERNET;
import static android.Manifest.permission.READ_EXTERNAL_STORAGE;
import static android.Manifest.permission.READ_MEDIA_AUDIO;
import static android.Manifest.permission.READ_MEDIA_IMAGES;
import static android.Manifest.permission.READ_MEDIA_VIDEO;
import static android.Manifest.permission.WRITE_EXTERNAL_STORAGE;
import static com.google.appinventor.components.runtime.util.PaintUtil.hexStringToInt;
import android.annotation.SuppressLint;
This file has been truncated. show original
AppInventorCompatActivity.java:
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2018-2020 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.components.runtime;
import android.app.Activity;
import android.content.res.Configuration;
import android.graphics.drawable.ColorDrawable;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.view.WindowManager;
import android.widget.FrameLayout.LayoutParams;
import android.widget.TextView;
This file has been truncated. show original
Original community issue:
Hello! I’m having a problem with the interface of my App Inventor projects.
A few days ago, my app looked exactly the same both in MIT AI2 Companion and in the exported APK.
However, starting today, when I export my app, the entire interface appears reduced/scaled down compared to how it looks in Companion.
What makes it even stranger is that when I open the keyboard, the interface becomes even smaller.
This happens when exporting different projects, so I don’t think it is related to a speci…
I would appreciate it if someone from the App Inventor team could verify this interaction between the new SDK 36 WindowInsets handling and the existing onGlobalLayout() scaling workaround.
In my opinion, the safest design for Android 15+ is:
WindowInsets/IME should change the available form dimensions, but should not change the Fixed-mode compatibility scaling factor.