I'm trying to change the dimensions of my Facebook login button - however I'm only able to change the width of the button and for some reason the height always stays the same.
<com.facebook.login.widget.LoginButton
xmlns:facebook="http://schemas.android.com/apk/res-auto"
facebook:com_facebook_login_text="Log in with Facebook"
android:id="@+id/login_button"
android:layout_width="240dp"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"/>
Any ideas why?
I have also tried putting the button in its own LinearLayout and setting both width and height to match_parent but again the height remains constant.
Grateful for any help!