Remove android gridview scroll-end highlight
When scrolling through a gridview, after hitting the end of the view, a highlight color appears with intensity based on how far you keep dragging your finger. An my atrix, this color is a light blue.
I'm trying to remove this 开发者_高级运维color but have been unsuccessful thus far. My minSDK is 2.2
To clarify, I'm not talking about the faded edges of the gridview or the individual items highlight color.
Use the setOverScrollMode
method or the accompanying XML attribute, android:overScrollMode
. You can set android:overScrollMode="never"
on scrolling views in your layouts without having to call a method that did not exist before API 9 (Android 2.3).
精彩评论