Closed HectorFGarcia closed 9 years ago
When you use the method setIconResource(Drawable), the button loses the text gravity. You need to use setTextGravity() after or the button will be aligned to the left by default.
Can you post a sample of your code, so i can reproduce it.
When you use the method setIconResource(Drawable), the button loses the text gravity. You need to use setTextGravity() after or the button will be aligned to the left by default.