AppWidgetHostView.SetOnLightBackground(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether the widget is being displayed on a light/white background and use an alternate UI if available.
[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
Parameters
- onLightBackground
- Boolean
- Attributes
Remarks
Sets whether the widget is being displayed on a light/white background and use an alternate UI if available.
Java documentation for android.appwidget.AppWidgetHostView.setOnLightBackground(boolean)
.
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.