Android APIs
public class

ViewConfigurationCompat

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

Class Overview

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

Summary

Public Constructors
ViewConfigurationCompat()
Public Methods
static int getScaledPagingTouchSlop(ViewConfiguration config)
static boolean hasPermanentMenuKey(ViewConfiguration config)
Report if the device has a permanent menu key available to the user, in a backwards compatible way.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ViewConfigurationCompat ()

Public Methods

public static int getScaledPagingTouchSlop (ViewConfiguration config)

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

Parameters
config
Returns
int

public static boolean hasPermanentMenuKey (ViewConfiguration config)

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

Parameters
config
Returns
boolean