i replaced with plain png files and they don't work either. i put the png files (including the selector xml file) in the drawables folder.
is that the right place? this is my current state of the files drawable/dialpad_selector.xml ---------- <selector xmlns:android="http://schemas.android.com/apk/res/android"> <!-- <item android:state_pressed="true" android:drawable="@drawable/button_normal_yellow" /> <item android:state_focused="true" android:drawable="@drawable/button_normal_yellow" /> <item android:state_hovered="true" android:drawable="@drawable/button_normal_yellow" /> --> <item android:drawable="@drawable/button_normal_green" /> </selector> The main layout file ----------- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/black" android:orientation="vertical" android:clickable="true"> <Button android:id="@+id/button1" android:layout_width="200dp" android:layout_height="200dp" android:background="@drawable/dialpad_selector" /> </LinearLayout> > > > -- 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

