Share via


AppWidgetProviderInfo.MaxResizeWidth Property

Definition

Maximum width (in px) which the widget can be resized to.

[Android.Runtime.Register("maxResizeWidth", ApiSince=31)]
public int MaxResizeWidth { get; set; }
[<Android.Runtime.Register("maxResizeWidth", ApiSince=31)>]
member this.MaxResizeWidth : int with get, set

Property Value

Attributes

Remarks

Maximum width (in px) which the widget can be resized to. This field has no effect if it is smaller than minWidth or if horizontal resizing isn't enabled (see #resizeMode).

This field corresponds to the android:maxResizeWidth attribute in the AppWidget meta-data file.

Java documentation for android.appwidget.AppWidgetProviderInfo.maxResizeWidth.

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.

Applies to