I am animating a Relativelayout in my application that has a spinner in it.The layout animates just fine but the problem is I cannot select the Spinner after the animation.I am new to animation.Please Help me!!Below is the code: MainActivity.java:
Animation slideup=AnimationUtils.loadAnimation(getApplicationContext(),R.anim.slide_up);
relativeLayout1.startAnimation(slideup);
slideup.setFillAfter(true);
slide_up(anim):
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:fromYDelta="0%p"
android:toYDelta="-20%p"
android:duration="2000"/>
</set>