<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>
これは、透明な ImageButton を取得して、それらのボタンを SurfaceView 上に配置しようとしたものです。しかし、Eclipse では、xml に透明な行を含めるとすぐにプロジェクトでエラーが発生します。
助けてください。
ベストアンサー1
背景に null を使用してみてください...
android:background="@null"