Most visited

Recently visited

ViewConfigurationCompat

public final class ViewConfigurationCompat
extends Object

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


Helper用于访问 ViewConfiguration以API级别4后向兼容的方式引入的功能。

Summary

Public methods

static int getScaledPagingTouchSlop(ViewConfiguration config)

致电 getScaledPagingTouchSlop() 。

static boolean hasPermanentMenuKey(ViewConfiguration config)

以向后兼容的方式报告设备是否具有对用户可用的永久菜单密钥。

Inherited methods

From class java.lang.Object

Public methods

getScaledPagingTouchSlop

int getScaledPagingTouchSlop (ViewConfiguration config)

致电getScaledPagingTouchSlop() 。 如果在预装FROYO设备上运行,则返回getScaledTouchSlop() 。

Parameters
config ViewConfiguration
Returns
int

hasPermanentMenuKey

boolean hasPermanentMenuKey (ViewConfiguration config)

以向后兼容的方式报告设备是否具有对用户可用的永久菜单密钥。

Parameters
config ViewConfiguration
Returns
boolean

Hooray!