Android 如何让我的屏幕和键盘一起上去?

Android 如何让我的屏幕和键盘一起上去?,android,android-layout,Android,Android Layout,键盘启动时如何通知我 我有一个框架布局,当它上升时,它不会被调整大小,所以我需要自己翻译屏幕 这是我的实际布局XML <?xml version="1.0" encoding="utf-8"?> <FrameLayout android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" andr

键盘启动时如何通知我

我有一个框架布局,当它上升时,它不会被调整大小,所以我需要自己翻译屏幕

这是我的实际布局XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="match_parent"
android:layout_weight="1">
<br.view.image.ScrollableImage
    android:id="@+id/image01" android:layout_width="match_parent"
    android:layout_height="match_parent" />
<br.view.TopBarView android:id="@+id/topBar"
    android:layout_width="match_parent" android:layout_height="wrap_content" />
<br.view.BottomBarView
    android:id="@+id/bottomBar" android:layout_gravity="bottom"
    android:layout_width="match_parent" android:layout_height="wrap_content" />
</FrameLayout>

从底部栏中,我打开一个弹出窗口,其中有一个编辑文本和一个按钮

当触摸编辑文本时,软键盘刚好覆盖屏幕底部,甚至覆盖弹出窗口。

看到这个问题了吗