# AbsListView.SelectionBoundsAdjuster

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

# AbsListView.SelectionBoundsAdjuster

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/widget/AbsListView.SelectionBoundsAdjuster "View this page in Kotlin")\|Java

`
public
static


interface
AbsListView.SelectionBoundsAdjuster
`  
`


`

|----------------------------------------------------|
| android.widget.AbsListView.SelectionBoundsAdjuster |

<br />

*** ** * ** ***

The top-level view of a list item can implement this interface to allow itself to modify the bounds of the selection shown for that item.

## Summary

|                                                                                                                                                                          ### Public methods                                                                                                                                                                          ||
|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract void` | ` `[adjustListItemSelectionBounds](https://developer.android.com/reference/android/widget/AbsListView.SelectionBoundsAdjuster#adjustListItemSelectionBounds(android.graphics.Rect))`(`[Rect](https://developer.android.com/reference/android/graphics/Rect)` bounds) ` Called to allow the list item to adjust the bounds shown for its selection. |

## Public methods

### adjustListItemSelectionBounds

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public abstract void adjustListItemSelectionBounds (Rect bounds)
```

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

<br />

|                                                                                  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. <br /> |