Hide Status Bar during Facebook Login Dialog
My app is fullscreen and hides the title bar fine with
<application
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
However, during a Facebook SDK login session, without the Facebook app
install, it pops up a dialog with internal browser and shows the status
bar. How can I keep the status bar hidden even during Facebook login?
Session.OpenRequest openRequest = new
Session.OpenRequest(activity).setPermissions(permissions).setCallback(callback);
Session session = new Session.Builder(activity).build();
if (SessionState.CREATED_TOKEN_LOADED.equals(session.getState()) ||
allowLoginUI) {
Session.setActiveSession(session);
session.openForRead(openRequest);
return session;
}
Using Facebook Android SDK 3.5, and Android 4.2.2.
No comments:
Post a Comment