Share via


AbsListView.ISelectionBoundsAdjuster.AdjustListItemSelectionBounds Method

Definition

Called to allow the list item to adjust the bounds shown for its selection.

[Android.Runtime.Register("adjustListItemSelectionBounds", "(Landroid/graphics/Rect;)V", "GetAdjustListItemSelectionBounds_Landroid_graphics_Rect_Handler:Android.Widget.AbsListView/ISelectionBoundsAdjusterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void AdjustListItemSelectionBounds (Android.Graphics.Rect? bounds);
[<Android.Runtime.Register("adjustListItemSelectionBounds", "(Landroid/graphics/Rect;)V", "GetAdjustListItemSelectionBounds_Landroid_graphics_Rect_Handler:Android.Widget.AbsListView/ISelectionBoundsAdjusterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AdjustListItemSelectionBounds : Android.Graphics.Rect -> unit

Parameters

bounds
Rect

On call, this contains the bounds the list has selected for the item (that is the bounds of the entire view). The values can be modified as desired.

Attributes

Remarks

Called to allow the list item to adjust the bounds shown for its selection.

Java documentation for android.widget.AbsListView.SelectionBoundsAdjuster.adjustListItemSelectionBounds(android.graphics.Rect).

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