Toolbar.getDropIndex

Returns the position corresponding to the indicated point on Since 2.4

class Toolbar
int
getDropIndex
(
int x
,
int y
)

Parameters

x int

x coordinate of a point on the toolbar

y int

y coordinate of a point on the toolbar

Return Value

Type: int

The position corresponding to the point (x, y) on the toolbar.

Meta