IWindowManager.PropertyCompatAllowResizeableActivityOverrides Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Application level android.content.pm.PackageManager.Property PackageManager.Property
for an app to inform the system that the app should be opted-out from the compatibility
overrides that change the resizability of the app.
[Android.Runtime.Register("PROPERTY_COMPAT_ALLOW_RESIZEABLE_ACTIVITY_OVERRIDES", ApiSince=35)]
public const string PropertyCompatAllowResizeableActivityOverrides;
[<Android.Runtime.Register("PROPERTY_COMPAT_ALLOW_RESIZEABLE_ACTIVITY_OVERRIDES", ApiSince=35)>]
val mutable PropertyCompatAllowResizeableActivityOverrides : string
Field Value
- Attributes
Remarks
Application level android.content.pm.PackageManager.Property PackageManager.Property
for an app to inform the system that the app should be opted-out from the compatibility overrides that change the resizability of the app.
When these compat overrides are enabled they force the packages they are applied to to be resizable/unresizable. If the app is forced to be resizable this won't change whether the app can be put into multi-windowing mode, but allow the app to resize without going into size compatibility mode when the window container resizes, such as display size change or screen rotation.
Setting this property to false
informs the system that the app must be opted-out from the compatibility treatment even if the device manufacturer has opted the app into the treatment.
Not setting this property at all, or setting this property to true
has no effect.
<b>Syntax:</b>
<application>
<property
android:name="android.window.PROPERTY_COMPAT_ALLOW_RESIZEABLE_ACTIVITY_OVERRIDES"
android:value="true|false"/>
</application>
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.