tags:

views:

155

answers:

0

Hi,

I have a row in a ListView, which just has a thumbnail and a textview beside it, arranged horizontally:

<LinearLayout>
    <ImageView /> <TextView />
</LinearLayout>

When I click one of these rows in the list view, I'd like to dynamically add two buttons below the imageview/textview, like:

<LinearLayout>
    <ImageView /> <TextView />
    <LinearLayout>
        <Button /><Button />
    </LinearLayout>
</LinearLayout>

I'm wondering how I could animate this though - it would be cool if the list view row animated itself growing larger vertically, then the new buttons animated themselves fading in from 0 to 100 % opacity. Is this possible to do with android, any points in the right direction would get me going,

Thanks