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

06.11.2011 11:16, lokesh gupta ?????:
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

On Sun, Nov 6, 2011 at 10:33 AM, Romain Guy <[email protected] <mailto:[email protected]>> wrote:

    Gmail uses a custom ListView.

    On Nov 5, 2011 7:20 PM, "Doug" <[email protected]
    <mailto:[email protected]>> wrote:

        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 <[email protected]
        <mailto:[email protected]>> wrote:
        > 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 received this message because you are subscribed to the Google
        Groups "Android Developers" group.
        To post to this group, send email to
        [email protected]
        <mailto:[email protected]>
        To unsubscribe from this group, send email to
        [email protected]
        <mailto:android-developers%[email protected]>
        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
    [email protected]
    <mailto:[email protected]>
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:android-developers%[email protected]>
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en




--
Thanks & Regards
Lokesh Gupta
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
Kostya Vasilyev

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to