nativescript-facebook
nativescript-facebook copied to clipboard
[Android] Style native Facebook SDK button
Is it somehow possible to change white height and width of the native button? I didn't found a way to do it, but the Facebook SDK allows to set it:
<com.facebook.login.widget.LoginButton
android:id="@+id/login_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="30dp"
android:layout_marginBottom="30dp" />
Hi @bobby1212,
I have marked this as a feature request. nativescript-facebook plugin wraps the native Facebook SDK, so we could benefit from all its capabilities. We love pull requests and we would highly appreciate it, if you decide to improve the login button styling. Here is a possible starting point - https://github.com/NativeScript/nativescript-facebook/blob/master/src/ui/login-button.android.ts#L9