Hi all, I'm having a bit of trouble getting this code to work. I set up a RelativeLayout menu with a couple of buttons and ,when a certain action is performed, this menu changes its position through a translate animation. the problem is that the clickable area of the buttons is not updated, thus the buttons don't work after the translation (if I click the button's old position it works though ;]). Can someone shed some light on this? is this the expected behaviour?
I also tried the LayoutAnimation and the result is the same. Java code: <...> ViewGroup menu = findViewById(R.id.menu); menu.setVisibility(View.VISIBLE); menu.startAnimation(AnimationUtils.loadAnimation(this, R.anim.push_up_little)); <...> The XML rotation (push_up_little.xml) <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" android:fillAfter="true"> <translate android:fromYDelta="0" android:toYDelta="-58" android:duration="300" android:fillAfter="true" android:zAdjustment="top"/> </set> The Menu button XML <RelativeLayout android:id="@+id/menu" android:visibility="gone" android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="100dp" android:layout_marginBottom="-40dp" android:layout_alignParentBottom="true"> <Button android:id="@+id/button" android:layout_width="123dp" android:layout_height="41dp" android:layout_marginTop="11dp" android:layout_marginRight="12dp" android:layout_alignParentTop="true" android:layout_alignParentRight="true" android:paddingLeft="0dp" android:paddingRight="0dp" android:paddingTop="0dp" android:paddingBottom="dp" android:visibility="gone" android:textSize="20sp" android:textColor="#A111" android:text="Share" android:background="@+drawable/btn"/> <more buttons...> </RelativeLayout> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

