Udostępnij za pośrednictwem


AppWidgetProviderInfo.TargetCellWidth Property

Definition

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

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

Property Value

Attributes

Remarks

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

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

Java documentation for android.appwidget.AppWidgetProviderInfo.targetCellWidth.

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