<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".fragments.InboxFragment"> <androidx.swiperefreshlayout.widget.SwipeRefreshLayout android:id="@+id/swipe_refresh_layout_inbox_fragment" android:layout_width="match_parent" android:layout_height="match_parent"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/recycler_view_inbox_fragment" android:layout_width="match_parent" android:layout_height="match_parent" android:clipToPadding="false" /> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> <LinearLayout android:id="@+id/fetch_messages_info_linear_layout_inbox_fragment" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_centerInParent="true" android:gravity="center" android:orientation="vertical" android:visibility="gone"> <ImageView android:id="@+id/fetch_messages_info_image_view_inbox_fragment" android:layout_width="150dp" android:layout_height="wrap_content" /> <TextView android:id="@+id/fetch_messages_info_text_view_inbox_fragment" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="16dp" android:fontFamily="?attr/font_family" android:gravity="center" android:textSize="?attr/font_default" /> </LinearLayout> </RelativeLayout>