EmbeddedPhotoPickerFeatureInfo.Builder.SetThemeNightMode(Int32) 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 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.
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.