android: how to add an image button?
Posted
by Yang
on Stack Overflow
See other posts from Stack Overflow
or by Yang
Published on 2010-04-06T00:10:18Z
Indexed on
2010/04/06
0:13 UTC
Read the original article
Hit count: 212
I am trying to replace my previous ugly text button with an imagebutton. However, after changing the XML file with the following ImageButton code, my application won't even start. Why?
<ImageButton
android:layout_height="fill_parent"
android:id="@+id/refresh"
android:src="@drawable/refresh"
/>
© Stack Overflow or respective owner