Most visited

Recently visited

ViewConfigurationCompat

public final class ViewConfigurationCompat
extends Object

java.lang.Object
   ↳ android.support.v4.view.ViewConfigurationCompat


Helper for accessing features in ViewConfiguration introduced after API level 4 in a backwards compatible fashion.

Summary

Public methods

static int getScaledPagingTouchSlop(ViewConfiguration config)

Call getScaledPagingTouchSlop().

static boolean hasPermanentMenuKey(ViewConfiguration config)

Report if the device has a permanent menu key available to the user, in a backwards compatible way.

Inherited methods

From class java.lang.Object

Public methods

getScaledPagingTouchSlop

int getScaledPagingTouchSlop (ViewConfiguration config)

Call getScaledPagingTouchSlop(). If running on a pre-FROYO device, returns getScaledTouchSlop().

Parameters
config ViewConfiguration
Returns
int

hasPermanentMenuKey

boolean hasPermanentMenuKey (ViewConfiguration config)

Report if the device has a permanent menu key available to the user, in a backwards compatible way.

Parameters
config ViewConfiguration
Returns
boolean

Hooray!