共用方式為


AppWidgetProviderInfo.InitialKeyguardLayout Property

Definition

The resource id of the initial layout for this AppWidget when it is displayed on keyguard.

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

Property Value

Attributes

Remarks

The resource id of the initial layout for this AppWidget when it is displayed on keyguard. This parameter only needs to be provided if the widget can be displayed on the keyguard, see #widgetCategory.

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

Java documentation for android.appwidget.AppWidgetProviderInfo.initialKeyguardLayout.

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