語言

Presentations.Builder.SetMenuPresentation(RemoteViews) 方法

定義

用來視覺化這個欄位的簡報。

[Android.Runtime.Register("setMenuPresentation", "(Landroid/widget/RemoteViews;)Landroid/service/autofill/Presentations$Builder;", "", ApiSince=33)]
public Android.Service.Autofill.Presentations.Builder SetMenuPresentation(Android.Widget.RemoteViews value);
[<Android.Runtime.Register("setMenuPresentation", "(Landroid/widget/RemoteViews;)Landroid/service/autofill/Presentations$Builder;", "", ApiSince=33)>]
member this.SetMenuPresentation : Android.Widget.RemoteViews -> Android.Service.Autofill.Presentations.Builder

參數

value
RemoteViews

傳回

屬性

備註

用來視覺化這個欄位的簡報。

注意:在 Android 13 之前,SDK 中這僅稱為「呈現」。

主題無法與 RemoteViews 的版面配置相容。 避免硬編碼文字顏色或背景色:不同平台的自動填充可能有不同的主題。

Android 參考資料。android.service.autofill.Presentations.Builder.setMenuPresentation

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於