How to create button with image & text
问题 Friends, I want to display a button in android like mentioned in screenshot. Could anyone guide me through how to achieve this? 回答1: There is the ImageButton which you can use for that. But I'm not sure how to make the Text on the button look like the Text in your screenshot. I would simply create the image with the text and then use it for the ImageButton . 回答2: Use a normal Butto with drawableLeft attribute. See my sample code: <Button android:layout_width="100dip" android:layout_height=