Language

EmbeddedPhotoPickerFeatureInfo.Builder.SetThemeNightMode(Int32) Method

Definition

Sets the embedded picker theme to light or dark independently of the device theme.

[Android.Runtime.Register("setThemeNightMode", "(I)Landroid/widget/photopicker/EmbeddedPhotoPickerFeatureInfo$Builder;", "", ApiSince=36)]
public Android.Widget.PhotoPicker.EmbeddedPhotoPickerFeatureInfo.Builder SetThemeNightMode(int themeNightMode);
[<Android.Runtime.Register("setThemeNightMode", "(I)Landroid/widget/photopicker/EmbeddedPhotoPickerFeatureInfo$Builder;", "", ApiSince=36)>]
member this.SetThemeNightMode : int -> Android.Widget.PhotoPicker.EmbeddedPhotoPickerFeatureInfo.Builder

Parameters

themeNightMode
Int32

One of Configuration.UiModeNightUndefined, Configuration.UiModeNightNo, or Configuration.UiModeNightYes. The default, Configuration.UiModeNightUndefined, uses the system theme.

Returns

This builder.

Attributes

Remarks

Sets the embedded photo picker theme to light or dark irrespective of the device theme.

Android reference for android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo.Builder.setThemeNightMode.

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