【发布时间】:2010-08-22 15:43:11
【问题描述】:
这是一个愚蠢的问题。做好准备。
我的 main.xml 是这样的:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@android:color/white">
<ImageButton
android:src="@drawable/button"
android:scaleType="fitStart"
android:layout_height="fill_parent"
android:layout_width="wrap_content"
/>
</RelativeLayout>
它有效。但是,我实际上看到了一个带有我的图像的 android 按钮。当你点击它时,外面变成橙色和一切。如何获取它以使外部按钮不出现?
请帮忙?
【问题讨论】:
标签: android eclipse image button scale