Android view slide down and slide up animation
<p>I hava a listview with customized rowview.
in that on click of the row the row should grow down and for the next clik row should grow up</p>

<p>my row is like this 
'</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/linearLayout_333"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical" &gt;

    &lt;LinearLayout
        android:id="@+id/acitivityquestions_Row"
        android:layout_width="match_parent"
        android:layout_height="120dip"
        android:orientation="horizontal" &gt;

        &lt;TextView
            android:id="@+id/Slono"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="5dip"
            android:lineSpacingExtra="6sp"
            android:textColor="@color/black"
            android:textSize="20sp" /&gt;

        &lt;TextView
            android:id="@+id/main_textView"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_toRightOf="@+id/Slono"
            android:lineSpacingExtra="9sp"
            android:textColor="@color/black"
            android:textSize="20sp" /&gt;
    &lt;/LinearLayout&gt;

    &lt;LinearLayout
        android:id="@+id/layout_main_textView2"
        android:layout_width="900dip"
        android:layout_height="wrap_content" &gt;

        &lt;TextView
            android:id="@+id/Slono2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="5dip"
            android:lineSpacingExtra="6sp"
            android:textColor="@color/black"
            android:textSize="20sp" /&gt;

        &lt;TextView
            android:id="@+id/main_textView2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_toRightOf="@+id/Slono2"
            android:focusable="false"
            android:focusableInTouchMode="false"
            android:lineSpacingExtra="9sp"
            android:textColor="@color/black"
            android:textSize="20sp" /&gt;
    &lt;/LinearLayout&gt;

&lt;/LinearLayout&gt;
</code></pre>

<p>'</p>

<p>on click of the row the second <b>LinearLayout(which is @+id/layout_main_textView2 layout </b> should grow and for second click it should close.</p>

<p>On onClick of the row im doing this</p>

<p>'</p>

<pre><code>AnimationSet set = new AnimationSet(true);
final Animation anim = AnimationUtils.loadAnimation(this, R.anim.slide_up);
anim.setFillAfter(true);
anim.setAnimationListener(new AnimationListener() {

                @Override
                public void onAnimationStart(Animation animation) {
                    // TODO Auto-generated method stub

                }

                @Override
                public void onAnimationRepeat(Animation animation) {
                    // TODO Auto-generated method stub

                }

                @Override
                public void onAnimationEnd(Animation animation) {
                    // TODO Auto-generated method stub
                    // v.setVisinbility(View.VISIBLE);
                    anim.setFillAfter(true);
                }
            });
            set.addAnimation(anim);
                        set.setFillAfter(true);
            layout_main_textView2.setAnimation(set);
</code></pre>

<p>'
and my animation XML 
'</p>

<pre><code>&lt;set xmlns:android="http://schemas.android.com/apk/res/android" &gt;

    &lt;translate
        android:duration="1500"
        android:fromYDelta="-100%p"
        android:toYDelta="0%p" /&gt;

    &lt;alpha
        android:duration="500"
        android:fromAlpha="1.0"
        android:toAlpha="0.1" /&gt;

&lt;/set&gt;
</code></pre>

<p>'</p>

<p>My problem here is the second view in the row is filled blank space initially and when I click on the row animation is happening.
But i need to  grow the row by the animation and has to remains same.</p>
