Discussion:
Bounce animation
Sandy
2010-07-12 22:39:05 UTC
Permalink
I've noticed that in froyo on nexus 1, app menu thumbnail list can be
scrolled up and down and, as it's scrolled, the applications roll up
into a 3D cube instead of disappearing from the screen. Once the
bottom of the application thumbnail list is hit, the screen bounces
off similar to the iPhone functionality.

Is the bounce effect at the boundaries of the list available on a
vertical ListView? If not, is it easy to customize this in on vertical
lists?

Thanks,
Sandy
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-***@googlegroups.com
To unsubscribe from this group, send email to
android-developers+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
Sandy
2010-07-12 22:38:59 UTC
Permalink
I've noticed that in froyo on nexus 1, app menu thumbnail list can be
scrolled up and down and, as it's scrolled, the applications roll up
into a 3D cube instead of disappearing from the screen. Once the
bottom of the application thumbnail list is hit, the screen bounces
off similar to the iPhone functionality.

Is the bounce effect at the boundaries of the list available on a
vertical ListView? If not, is it easy to customize this in on vertical
lists?

Thanks,
Sandy
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-***@googlegroups.com
To unsubscribe from this group, send email to
android-developers+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
Sandy
2010-07-13 15:38:21 UTC
Permalink
Can someone please comment on this?

Also, when height of one vertical list item is increased, it should
result in the slide animation of the rest of the items in the list
view (basically other items should slide down). I have noticed that
list view does not support this, but any other suggestions on what is
the best approach to achieve this?

Thanks,
Sandy
Post by Sandy
I've noticed that in froyo on nexus 1, app menu thumbnail list can be
scrolled up and down and, as it's scrolled, the applications roll up
into a 3D cube instead of disappearing from the screen. Once the
bottom of the application thumbnail list is hit, the screen bounces
off similar to the iPhone functionality.
Is the bounce effect at the boundaries of the list available on a
vertical ListView? If not, is it easy to customize this in on vertical
lists?
Thanks,
Sandy
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-***@googlegroups.com
To unsubscribe from this group, send email to
android-developers+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
Ericson, Anders
2010-07-14 07:20:23 UTC
Permalink
Bouncing as you describe it is not supported in ListView. It is possible to lift the ListView class from the platform and modify it to support it (most of the necessary changes are in AbsListView btw), but I don't recommend that approach. Instead, I would recommend that you implement your own list view.

I've made a tutorial for how to make a custom list view (which has support for bounce) which is available here: http://blogs.sonyericsson.com/developerworld/category/tutorials/3d-list/

If you're not interested in changing appearance, you can probably skip part 2.

Good luck

/Anders

-----Original Message-----
From: android-***@googlegroups.com [mailto:android-***@googlegroups.com] On Behalf Of Sandy
Sent: den 13 juli 2010 17:38
To: Android Developers
Subject: [android-developers] Re: Bounce animation

Can someone please comment on this?

Also, when height of one vertical list item is increased, it should
result in the slide animation of the rest of the items in the list
view (basically other items should slide down). I have noticed that
list view does not support this, but any other suggestions on what is
the best approach to achieve this?

Thanks,
Sandy
Post by Sandy
I've noticed that in froyo on nexus 1, app menu thumbnail list can be
scrolled up and down and, as it's scrolled, the applications roll up
into a 3D cube instead of disappearing from the screen. Once the
bottom of the application thumbnail list is hit, the screen bounces
off similar to the iPhone functionality.
Is the bounce effect at the boundaries of the list available on a
vertical ListView? If not, is it easy to customize this in on vertical
lists?
Thanks,
Sandy
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-***@googlegroups.com
To unsubscribe from this group, send email to
android-developers+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-***@googlegroups.com
To unsubscribe from this group, send email to
android-developers+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
Loading...