共用方式為


AppWidgetProviderInfo.TargetCellWidth 屬性

定義

新增至主機時,小工具的預設寬度會以啟動器方格單元格單位為單位。

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

屬性值

屬性

備註

新增至主機時,小工具的預設寬度會以啟動器方格單元格單位為單位。

此欄位會對應至 android:targetCellWidth AppWidget 元數據檔中的屬性。

android.appwidget.AppWidgetProviderInfo.targetCellWidthJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於