点击输入框弹出软键盘时,设置好的布局无法紧贴着软件盘
Software keyboard overlaps content of jetpack compose view
解决方案:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<activity
android:name=".MyActivity"
android:windowSoftInputMode="adjustResize"/>
</application>
</manifest>