AppWidgetHostView.SetOnLightBackground(Boolean) Méthode

Définition

Définit si le widget est affiché sur un arrière-plan clair/blanc et utilise une autre interface utilisateur si disponible.

[Android.Runtime.Register("setOnLightBackground", "(Z)V", "GetSetOnLightBackground_ZHandler", ApiSince=29)]
public virtual void SetOnLightBackground(bool onLightBackground);
[<Android.Runtime.Register("setOnLightBackground", "(Z)V", "GetSetOnLightBackground_ZHandler", ApiSince=29)>]
abstract member SetOnLightBackground : bool -> unit
override this.SetOnLightBackground : bool -> unit

Paramètres

onLightBackground
Boolean
Attributs

Remarques

Définit si le widget est affiché sur un arrière-plan clair/blanc et utilise une autre interface utilisateur si disponible.

Java documentation pour android.appwidget.AppWidgetHostView.setOnLightBackground(boolean).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à