Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to position icon position in materialbutton

I am using Materialbutton from the support library. I want the icon to be to the right of the text? Ican't seem to find how to do it. Any help is appreciated

like image 643
Snake Avatar asked Dec 13 '22 14:12

Snake


1 Answers

You can use the app:iconGravity attribute.
Use the app:iconGravity="end" value.

enter image description here

like image 148
Gabriele Mariotti Avatar answered Dec 28 '22 00:12

Gabriele Mariotti