Facebook LoginActivity does not display correctly

I have an application using Facebook. I have a FacebookSDK and I am using com.facebook.LoginActivity.

The problem is that on 10-inch tablets, activity is not displayed correctly when the on-screen key is displayed. I am using Samsung Galaxy Tab 2 (10.1) (OS 4.0.2).

This is what I see after clicking on one EditText in Facebook LoginActivity:

enter image description here

In the manifest file, I:

<activity
    android:name="com.facebook.LoginActivity"
    android:windowSoftInputMode="adjustResize"
    android:theme="@android:style/Theme.Translucent.NoTitleBar"
    android:label="@string/app_name" >
</activity>

Does anyone else have this problem? Does anyone use LoginActivity without a problem?

Is there anything else I need to do?

And why is Facebook activity not showing up completely?

+4
source share
2 answers

A quick fix will require changing the SDK code.

WebDialog.java onCreate() super.onCreate(), :

getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);

. , getMargins(). getMargins:

return new Pair<Integer, Integer>(1, 1);
+9

com.facebook.LoginActivity? facebook SSO , .

Update

URL- SSO:

http://facebooksso.blogspot.com/2012/04/single-sign-on-facebook.html

0

All Articles