Compartir a través de


Window.SetDecorCaptionShade(DecorCaptionShade) Method

Definition

Set what color should the caption controls be.

[Android.Runtime.Register("setDecorCaptionShade", "(I)V", "GetSetDecorCaptionShade_IHandler", ApiSince=24)]
public abstract void SetDecorCaptionShade (Android.Views.DecorCaptionShade decorCaptionShade);
[<Android.Runtime.Register("setDecorCaptionShade", "(I)V", "GetSetDecorCaptionShade_IHandler", ApiSince=24)>]
abstract member SetDecorCaptionShade : Android.Views.DecorCaptionShade -> unit

Parameters

decorCaptionShade
DecorCaptionShade
Attributes

Remarks

Set what color should the caption controls be. By default the system will try to determine the color from the theme. You can overwrite this by using #DECOR_CAPTION_SHADE_DARK, #DECOR_CAPTION_SHADE_LIGHT, or #DECOR_CAPTION_SHADE_AUTO.

Java documentation for android.view.Window.setDecorCaptionShade(int).

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