hi :) my button has android:background="@drawable/btn_zoomin".
btn_zoomin.xml is: <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/ btn_zoomin_transition" /> <item android:drawable="@drawable/btn_zoomin_normal" /> </selector> btn_zoomin_transition.xml is: <?xml version="1.0" encoding="utf-8"?> <transition xmlns:android="http://schemas.android.com/apk/res/ android"> <item android:drawable="@drawable/btn_zoomin_dark" /> <item android:drawable="@drawable/btn_zoomin_long" /> </transition> btn_zoomin_normal.png and btn_zoomin_dark.png and btn_zoomin_long.png are bitmaps. The onLongClick listener is triggered, but the background does'nt change. Does anyone here know how to achieve this? Best regards, DaRolla -- 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

