i have set my buttons width to fill_parent
.
so Is it possible to set Image and text at center of button.
there is option for drawable_Left
but it aligns image on left side of button...
I want something like this.
.... [image][text].... |
Thanks:
Try this: first set background for the button then set image by using android:drawableTop=""
and then set the text by android:text=""
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With