Skip to content

Most visited

Recently visited

navigation

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
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.