From d8e6fd21d160595d49b5561e9f1039c2569bdca4 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 8 Dec 2017 23:30:45 +0100 Subject: [PATCH] Set android:resizeableActivity="true" Setting android:resizeableActivity="true" should AFAIK not be needed as https://developer.android.com/guide/topics/ui/multi-window.html states that: If your app targets API level 24, but you do not specify a value for this attribute, the attribute's value defaults to true. However, on a Galaxy S8 running Android 7.0 this attribute is needed in order to have resizeable windows when in Samsung Dex mode. Fixes #309. --- app/src/main/AndroidManifest.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 8d2a1755..6ce50075 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -32,6 +32,7 @@ android:name="com.termux.app.TermuxActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize" android:launchMode="singleTask" + android:resizeableActivity="true" android:windowSoftInputMode="adjustResize|stateAlwaysVisible" > @@ -49,6 +50,7 @@ android:exported="false" android:theme="@android:style/Theme.Material.Light.DarkActionBar" android:parentActivityName=".app.TermuxActivity" + android:resizeableActivity="true" android:label="@string/application_name" />