Contains methods to standard constants used in the UI for timeouts, sizes, and distances.
- final ViewConfiguration configuration = ViewConfiguration.get(getContext());
-
mMaximumVelocity = configuration.getScaledMaximumFlingVelocity();
-
mTouchSlop = configuration.getScaledTouchSlop();
阅读(1380) | 评论(0) | 转发(0) |