Closed meeftah closed 6 years ago
As the title says, my DialogList has a lot of space in the top
and this is my layout:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/colorWhite"> <android.support.v4.widget.SwipeRefreshLayout android:id="@+id/swipeToRefresh" android:layout_width="match_parent" android:layout_height="match_parent"> <com.stfalcon.chatkit.dialogs.DialogsList android:id="@+id/dialogs_list" android:layout_width="match_parent" android:layout_height="match_parent" app:dialogDividerLeftPadding="0dp" app:dialogMessageAvatarEnabled="false" app:dialogMessageTextSize="@dimen/text_size_18" app:dialogTitleTextStyle="bold" app:dialogUnreadBubbleBackgroundColor="@color/colorRuby" app:dialogUnreadItemBackground="@color/colorGrayLight" app:dialogUnreadTitleTextStyle="bold" /> </android.support.v4.widget.SwipeRefreshLayout> </RelativeLayout>
is there any error on my side?
i have the same issue, did you solve it?
solved, just write this dialogsList.setAdapter(dialogsAdapter,false);
dialogsList.setAdapter(dialogsAdapter,false);
yup...thank you
As the title says, my DialogList has a lot of space in the top
and this is my layout:
is there any error on my side?