Android Image Button Problem

Posted by xger86x on Stack Overflow See other posts from Stack Overflow or by xger86x
Published on 2010-04-26T10:47:47Z Indexed on 2010/04/26 12:13 UTC
Read the original article Hit count: 251

Filed under:
|
|

Hi,

i have the following imageButton

    <ImageButton
    android:id="@+id/header_buttonleft"
    android:layout_width="40dip"
    android:layout_height="40dip"
    android:layout_alignParentLeft="true"
    android:layout_marginLeft="10dip"
    android:layout_marginTop="5dip"
    android:src="@drawable/icon_download"
    android:clickable="true"/>

But when i load my application in the device, it appears too small:

alt text

Anyone knows how can i make the icon bigger. I have tried to increase the resolution (actually the icon is 70x70) but it still doesn't work. Any idea?

© Stack Overflow or respective owner

Related posts about android

Related posts about icon