Language

Selection.MoveToLeftEdge(ISpannable, Layout) Method

Definition

Moves the cursor to the left edge of the line that contains the selection end.

[Android.Runtime.Register("moveToLeftEdge", "(Landroid/text/Spannable;Landroid/text/Layout;)Z", "")]
public static bool MoveToLeftEdge(Android.Text.ISpannable? text, Android.Text.Layout? layout);
[<Android.Runtime.Register("moveToLeftEdge", "(Landroid/text/Spannable;Landroid/text/Layout;)Z", "")>]
static member MoveToLeftEdge : Android.Text.ISpannable * Android.Text.Layout -> bool

Parameters

text
ISpannable

The text whose cursor is moved.

layout
Layout

The layout used to find the visual left edge of the selection-end line.

Returns

true, even when the cursor is already at that position.

Attributes

Remarks

Android reference for android.text.Selection.moveToLeftEdge.

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