Android 键盘与facebook登录屏幕重叠

Android 键盘与facebook登录屏幕重叠,android,facebook,facebook-graph-api,Android,Facebook,Facebook Graph Api,我正在使用Facebook SDK和Facebook登录按钮。当我点击登录时,会出现一个facebook弹出窗口。我的问题是,当屏幕处于横向时,我开始键入电子邮件,键盘与弹出窗口重叠,我看不到我正在键入的内容,只显示弹出窗口的标题。当屏幕处于纵向时,弹出窗口正常,我可以毫无问题地键入 这是我的login.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="h

我正在使用Facebook SDK和Facebook登录按钮。当我点击登录时,会出现一个facebook弹出窗口。我的问题是,当屏幕处于横向时,我开始键入电子邮件,键盘与弹出窗口重叠,我看不到我正在键入的内容,只显示弹出窗口的标题。当屏幕处于纵向时,弹出窗口正常,我可以毫无问题地键入

这是我的login.xml:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:context=".LoginActivity" ><FrameLayout
    android:id="@+id/frame"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:layout_alignParentEnd="false"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="false"
    android:layout_alignParentTop="true"
    android:addStatesFromChildren="false"
    android:background="@drawable/background_land"
    android:clipToPadding="true"
    android:contentDescription="@string/acLogin_FrameLayout"
    android:fitsSystemWindows="false"
    android:measureAllChildren="false"
    android:splitMotionEvents="false" >

    <com.facebook.widget.LoginButton
        android:id="@+id/authButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_gravity="center_horizontal|bottom" />
 </FrameLayout>
</RelativeLayout>


有没有办法让我仍然可以使用Facebook登录按钮并将弹出式登录框设置为几乎不可见?

尝试更改活动的输入模式。我猜是android:WindowsOfInputMode=“adjustResize”或“adjustPan”。您可以在AndroidManifest.xml中的活动上设置它,我尝试了类似的方法,但仍然无效:
这是一个已知的错误,请参阅我在此处发布的解决方法: