简体   繁体   中英

Is there any way to force overscroll glow effect in android?


I am developing an application, in which there are scrollviews.
In the emulator, the overscroll effect is shown, in an HTC Legend it is shown, but in my Samsung Galaxy S2 its not... (I DO have gingebread, with overscroll glow enabled). I like this effect and I would like to apply it to my application (if the user have 2.3+ of course). Is there any way to do this? Thank you!

Maybe use attribute android:overScrollMode in your layouts. Are you using it?

Example:

<ScrollView
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:overScrollMode="always">

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM