<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的透明线让我在项目中的错误。
This is what I tried to get a transparent ImageButton so as to place those buttons on a SurfaceView. But Eclipse, gives me an error in the project as soon as I include the transparent line in xml.
请帮忙。
尝试使用空的背景...
Try using null for the background ...
android:background="@null"
上一篇:建立在PhoneGap的3.x的命令行版本的Android APK命令行、版本、PhoneGap、oid
下一篇:Android的:如何使键盘的回车键说&QUOT;搜索&QUOT;而处理其点击?回车键、键盘、Android、QUOT