共用方式為


AppWidgetProviderInfo.MinWidth Property

Definition

The default width of the widget when added to a host, in px.

[Android.Runtime.Register("minWidth")]
public int MinWidth { get; set; }
[<Android.Runtime.Register("minWidth")>]
member this.MinWidth : int with get, set

Property Value

Attributes

Remarks

The default width of the widget when added to a host, in px. The widget will get at least this width, and will often be given more, depending on the host.

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

Java documentation for android.appwidget.AppWidgetProviderInfo.minWidth.

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