ImageButton in Android -
can tell me how resize imagebutton fit image exactly..this code tried, image placed @ position locating using android:scaletype
can't able reduce size of imagebutton, pls me out in rectifying issue...the code tried ...
<imagebutton> android:id="@+id/button01" android:scaletype="fitxy" // have tried values attr android:layout_width="wrap_content" android:layout_height="wrap_content" android:croptopadding="false" android:paddingleft="10dp" android:src="@drawable/eye"> // image(eye) </imagebutton>
kinda late, im 'better late never' had same question today, found explained here: http://www.anddev.org/tutorial_buttons_with_niceley_stretched_background-t4369.html
Comments
Post a Comment