PointerIconCompat
class PointerIconCompat
kotlin.Any | |
↳ | androidx.core.view.PointerIconCompat |
Helper for accessing features in android.view.PointerIcon
in a backwards compatible fashion.
Summary
Public methods | |
---|---|
static PointerIconCompat! |
Creates a custom pointer from the given bitmap and hotspot information. |
static PointerIconCompat! |
getSystemIcon(context: Context!, style: Int) Gets a system pointer icon for the given style. |
static PointerIconCompat! |
Loads a custom pointer icon from an XML resource. |
Constants
TYPE_ALL_SCROLL
static val TYPE_ALL_SCROLL: Int
Synonym for android.view.PointerIcon#TYPE_ALL_SCROLL
Value: 1013
TYPE_CONTEXT_MENU
static val TYPE_CONTEXT_MENU: Int
Synonym for android.view.PointerIcon#TYPE_CONTEXT_MENU
Value: 1001