Sdílet prostřednictvím


Window.SetResizingCaptionDrawable(Drawable) Method

Definition

Set the drawable that is drawn underneath the caption during the resizing.

[Android.Runtime.Register("setResizingCaptionDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetResizingCaptionDrawable_Landroid_graphics_drawable_Drawable_Handler", ApiSince=24)]
public abstract void SetResizingCaptionDrawable (Android.Graphics.Drawables.Drawable? drawable);
[<Android.Runtime.Register("setResizingCaptionDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetResizingCaptionDrawable_Landroid_graphics_drawable_Drawable_Handler", ApiSince=24)>]
abstract member SetResizingCaptionDrawable : Android.Graphics.Drawables.Drawable -> unit

Parameters

drawable
Drawable
Attributes

Remarks

Set the drawable that is drawn underneath the caption during the resizing.

During the resizing the caption might not be drawn fast enough to match the new dimensions. There is a second caption drawn underneath it that will be fast enough. By default the caption is constructed from the theme. You can provide a drawable, that will be drawn instead to better match your application.

Java documentation for android.view.Window.setResizingCaptionDrawable(android.graphics.drawable.Drawable).

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