I want to build a transparent ImageButton, I put these buttons in a SurfaceView. But when I put the code in XML, Eclipse returns an error. I don’t know how to solve, any help will be appreciated.
<ImageButton android:id="@+id/previous"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/media_skip_backward"
android:background="@drawable/transparent">
</ImageButton>
you can use this