Share via


ImageView.SetImageLevel(Int32) Method

Definition

Sets the image level, when it is constructed from a android.graphics.drawable.LevelListDrawable.

[Android.Runtime.Register("setImageLevel", "(I)V", "GetSetImageLevel_IHandler")]
public virtual void SetImageLevel (int level);
[<Android.Runtime.Register("setImageLevel", "(I)V", "GetSetImageLevel_IHandler")>]
abstract member SetImageLevel : int -> unit
override this.SetImageLevel : int -> unit

Parameters

level
Int32

The new level for the image.

Attributes

Remarks

Sets the image level, when it is constructed from a android.graphics.drawable.LevelListDrawable.

Java documentation for android.widget.ImageView.setImageLevel(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