While using the loginWithReadPermissions
method of the latest Facebook SDK for Android, a large progress bar is displayed while Facebook waits to either open the app or webview. Is there anyway to stop this progress bar from showing? It is not aesthetically pleasing.
I am using:
LoginManager.getInstance().logInWithReadPermissions(
this,
Arrays.asList(getResources().getString(R.string.app_facebook_scope_email))
);
Change the com.facebook.FacebookActivity
entry in your manifest so that it contains:
android:theme="@android:style/Theme.NoDisplay"
instead of
android:theme="@android:style/Theme.Translucent.NoTitleBar"
This worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With