Sdílet prostřednictvím


ActionBar.SetStackedBackgroundDrawable(Drawable) Method

Definition

Set the ActionBar's stacked background.

[Android.Runtime.Register("setStackedBackgroundDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetStackedBackgroundDrawable_Landroid_graphics_drawable_Drawable_Handler")]
public virtual void SetStackedBackgroundDrawable (Android.Graphics.Drawables.Drawable? d);
[<Android.Runtime.Register("setStackedBackgroundDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetStackedBackgroundDrawable_Landroid_graphics_drawable_Drawable_Handler")>]
abstract member SetStackedBackgroundDrawable : Android.Graphics.Drawables.Drawable -> unit
override this.SetStackedBackgroundDrawable : Android.Graphics.Drawables.Drawable -> unit

Parameters

d
Drawable

Background drawable for the stacked row

Attributes

Remarks

Set the ActionBar's stacked background. This will appear in the second row/stacked bar on some devices and configurations.

Java documentation for android.app.ActionBar.setStackedBackgroundDrawable(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