Language

LevelListDrawable.AddLevel(Int32, Int32, Drawable) Method

Definition

Associates a non-null drawable with an inclusive range of levels.

[Android.Runtime.Register("addLevel", "(IILandroid/graphics/drawable/Drawable;)V", "GetAddLevel_IILandroid_graphics_drawable_Drawable_Handler")]
public virtual void AddLevel(int low, int high, Android.Graphics.Drawables.Drawable? drawable);
[<Android.Runtime.Register("addLevel", "(IILandroid/graphics/drawable/Drawable;)V", "GetAddLevel_IILandroid_graphics_drawable_Drawable_Handler")>]
abstract member AddLevel : int * int * Android.Graphics.Drawables.Drawable -> unit
override this.AddLevel : int * int * Android.Graphics.Drawables.Drawable -> unit

Parameters

low
Int32

The inclusive lower bound of the level range.

high
Int32

The inclusive upper bound of the level range.

drawable
Drawable

The drawable to associate with the range; null leaves the list unchanged.

Attributes

Remarks

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