AppWidgetProviderInfo.TargetCellHeight Property

Definition

The default height of a widget when added to a host, in units of launcher grid cells.

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

Property Value

Attributes

Remarks

The default height of a widget when added to a host, in units of launcher grid cells.

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

Java documentation for android.appwidget.AppWidgetProviderInfo.targetCellHeight.

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