Share via


ActionBar.SetSplitBackgroundDrawable(Drawable) Method

Definition

Set the ActionBar's split background.

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

Parameters

d
Drawable

Background drawable for the split bar

Attributes

Remarks

Set the ActionBar's split background. This will appear in the split action bar containing menu-provided action buttons on some devices and configurations.

You can enable split action bar with android.R.attr#uiOptions

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