<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="请输入。。。"/>
</ScrollView>
<Button
android:layout_width="match_parent"
android:layout_height="50dp"
android:text="按钮"
android:layout_alignParentBottom="true"
android:background="#aaccee"
android:layout_margin="5dp"/>
</RelativeLayout>
屏幕底部控件始终在软键盘顶端
最新推荐文章于 2022-10-28 09:53:11 发布