hi i want to create image button like this way https://i.stack.imgur.com/o2KsD.jpg in this url how do i create button like this? half image half text? please help me i wanna create exactly same button
<Button android:id="@+id/MyAccountMiniStatement"
style="?android:attr/buttonStyleSmall"
android:layout_height="25dip"
android:layout_width="fill_parent"
android:layout_marginRight="10dip"
android:layout_marginLeft="10dip"
android:background="@drawable/curvedplanebutton"
android:textColor="@drawable/button_text_color"
android:layout_marginTop="10dip"
android:text="Mini Statement"/>
Add this attribute to the button
android:drawableLeft="@drawable/ic_launcher"Something like this,
By providing the drawable Left, the icon will be placed to the left side of the text and also you can use the background attribute to give the white background to your whole button.