AppWidgetProviderInfo.MaxResizeHeight Property

Definition

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

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

Property Value

Attributes

Remarks

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

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

Java documentation for android.appwidget.AppWidgetProviderInfo.maxResizeHeight.

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