Android Question is B4a APP resizable in Nougat (android 7?)

MbedAndroid

Well-Known Member
Licensed User
Longtime User
I got my app compiled against SDK 25
I inserted following line in the manifest: (see below)
The app shows up in multiwindow mode, but only full screen, so you see only a part of it. Other part is hidden behind the second app in multiwindow mode.
Should it be possible to resize it? Or to scroll it so you can reach each field on the app?

AddPermission(android.permission.ACCESS_NETWORK_STATE)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:resizeableActivity, "true")
AddApplicationText(<meta-data android:name="android.max_aspect" android:value="10"/>)
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")
SetActivityAttribute("main", android:configChanges, "locale")
AddReceiverText(eu.dgconsulting.appupdating.newinst2,
 

DonManfred

Expert
Licensed User
Longtime User
https://developer.android.com/guide/topics/ui/multi-window.html
Make sure to add this attributes to your activity too
<activity android:name=".MyActivity">
<layout android:defaultHeight="500dp"
android:defaultWidth="600dp"
android:gravity="top|end"
android:minHeight="450dp"
android:minWidth="300dp" />
</activity>

I don´t know if this is all. Never tried to build a resizeable app.
But i think it is worth to check.
 
Upvote 0

MbedAndroid

Well-Known Member
Licensed User
Longtime User
i assume i need to insert this the manifest as follows

AddApplicationText(
<activity android:name=".MyActivity">
<layout android:defaultHeight="500dp"
android:defaultWidth="600dp"
android:gravity="top|end"
android:minHeight="450dp"
android:minWidth="300dp" />
</activity>
)
 
Upvote 0

MbedAndroid

Well-Known Member
Licensed User
Longtime User
up to now partly success. The app resizes, but not the graphical panel. All menu's and some icons will resize.
All other items are fixed.
Need to investigate why
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…