ImageView.SetBaseline(Int32) Method

Definition

Set the offset of the widget's text baseline from the widget's top boundary.

[Android.Runtime.Register("setBaseline", "(I)V", "GetSetBaseline_IHandler")]
public virtual void SetBaseline (int baseline);
[<Android.Runtime.Register("setBaseline", "(I)V", "GetSetBaseline_IHandler")>]
abstract member SetBaseline : int -> unit
override this.SetBaseline : int -> unit

Parameters

baseline
Int32

The baseline to use, or -1 if none is to be provided.

Attributes

Remarks

Set the offset of the widget's text baseline from the widget's top boundary. This value is overridden by the #setBaselineAlignBottom(boolean) property.

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

See also