EditText最外面布局添加android:fitsSystemWindows="true"即可
例如:
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fitsSystemWindows="true">
<cn.isccn.ouyu.view.at.AtEditText
android:id="@+id/etContent"
style="@style/WAutoFullHAuto"
android:layout_marginLeft="@dimen/dp8"
android:background="@drawable/bg_send_text"
android:focusable="true"
android:maxLines="3"
android:focusableInTouchMode="true"
android:paddingLeft="@dimen/dp8"
android:paddingTop="@dimen/dp5"
android:paddingRight="@dimen/dp8"
android:paddingBottom="@dimen/dp5"
android:textColor="@color/dark_black"
android:textSize="@dimen/sp15" />
</FrameLayout>
EditText不跟随输入框弹出
猜你喜欢
转载自blog.csdn.net/chenli_001/article/details/103852645
今日推荐
周排行