I already tried several answers I could find but none of them worked with the latest Facebook Android SDK version 4.0.
How can I change the layout height with the latest SDK?
I already tried several answers I could find but none of them worked with the latest Facebook Android SDK version 4.0.
How can I change the layout height with the latest SDK?
There is no need to create a custom
LoginButton
.You can just change the
LoginButton
parameters programmatically as described here.Just set paddingTop and paddingBottom. It works for me.
For
Facebook SDK v4.x
(or rather than using separate xml style or programmatically)The
height
of button is decided by itspadding
andtextSize
.So if you want to increase button size, do it something like this
Hope it helps!!