聊天内容总是被输入框挡住
网上找了半天,基本是,加入
ndroid:windowSoftInputMode="stateHidden|adjustPan"
<span style="white-space:pre"> </span><activity
android:name="com.lh.activity.InfoXiaohei"
android:alwaysRetainTaskState="true"
android:configChanges="locale|keyboardHidden|orientation"
android:launchMode="singleInstance"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustPan" >
</activity>
还是不管用
后来发现,加了一句
android:transcriptMode="alwaysScroll"
<span style="white-space:pre"> </span><ListView
android:id="@+id/listview_personal_chatting"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:cacheColorHint="#0000"
android:divider="@null"
android:dividerHeight="5dp"
android:scrollbarStyle="outsideOverlay"
android:stackFromBottom="true"
android:transcriptMode="alwaysScroll"
/>