Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Animations in ListView (Android 3+)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
BoD  
View profile  
 More options Nov 4 2011, 9:06 am
From: BoD <bodlu...@gmail.com>
Date: Fri, 04 Nov 2011 14:06:40 +0100
Local: Fri, Nov 4 2011 9:06 am
Subject: Animations in ListView (Android 3+)
Hi!

I am looking at how to implement nice animations in a ListView for an
app targeting Android 3 and more.
Specifically, I would like to implement the same behavior that can be
seen in the Gmail app when an item is deleted or archived: the other
elements of the list smoothly move to fill the empty space left.

Any pointers on this?
Thanks a lot!

--
BoD


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Doug  
View profile  
 More options Nov 5 2011, 10:18 pm
From: Doug <beafd...@gmail.com>
Date: Sat, 5 Nov 2011 19:18:48 -0700 (PDT)
Local: Sat, Nov 5 2011 10:18 pm
Subject: Re: Animations in ListView (Android 3+)
The Gmail app may not be using a ListView, or may be using a
customized derivative of ListView to achieve that effect.  I imagine
it's not as simple as setting a flag or writing a few lines of code to
run an animation.

Doug

On Nov 4, 6:06 am, BoD <bodlu...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Romain Guy  
View profile  
 More options Nov 6 2011, 1:03 am
From: Romain Guy <romain...@android.com>
Date: Sat, 5 Nov 2011 22:03:05 -0700
Local: Sun, Nov 6 2011 1:03 am
Subject: Re: [android-developers] Re: Animations in ListView (Android 3+)

Gmail uses a custom ListView.
On Nov 5, 2011 7:20 PM, "Doug" <beafd...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lokesh gupta  
View profile  
 More options Nov 6 2011, 2:16 am
From: lokesh gupta <lokeshgupt...@gmail.com>
Date: Sun, 6 Nov 2011 12:46:43 +0530
Local: Sun, Nov 6 2011 2:16 am
Subject: Re: [android-developers] Re: Animations in ListView (Android 3+)

You can get the Item position  of the selected text view, Once this is
deleted you can iterate
and assign the new Items at that location.

Lokesh

--
Thanks & Regards
Lokesh Gupta

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kostya Vasilyev  
View profile  
 More options Nov 6 2011, 5:01 am
From: Kostya Vasilyev <kmans...@gmail.com>
Date: Sun, 06 Nov 2011 14:01:10 +0400
Local: Sun, Nov 6 2011 5:01 am
Subject: Re: [android-developers] Re: Animations in ListView (Android 3+)

Have you tried using the new 3.0 animation package to shrink the item
layout's height?

06.11.2011 11:16, lokesh gupta ?????:

--
Kostya Vasilyev

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BoD  
View profile  
 More options Nov 7 2011, 4:01 am
From: BoD <bodlu...@gmail.com>
Date: Mon, 7 Nov 2011 01:01:40 -0800 (PST)
Local: Mon, Nov 7 2011 4:01 am
Subject: Re: [android-developers] Re: Animations in ListView (Android 3+)

Kostya: I tried animating the item directly and it didn't work as I wished,
but I admit I didn't go too far to see why.  I'll look more into it as soon
as I have a bit of time.

Thank you everybody for your replies.
I'll post a follow-up here if I manage to do anything good looking ;)

--
BoD


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »