最近在做一个客服聊天项目,使用recyclerview做聊天列表,但是遇到了一个无法处理的问题,这问题困了我半天,也是醉了,之前使用listview没有遇到这样的,对于键盘的各种尝试都尝试了,最后还是没有解决,先来看看我已开始常规的搬砖:
布局
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
android:id="@+id/message_recycler_view"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:scrollbars="vertical"/>
android:id="@+id/bottom_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_g