<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="99">
<EditTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/test"/>
</ScrollView>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/save"/>
</LinearLayout>
弹出输入法时,底部布局跟随输入法移动至输入法顶部
最新推荐文章于 2020-06-08 18:38:50 发布