<?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"> <android.support.v7.widget.RecyclerView android:id="@+id/recycler_view_pinned" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="1.0" /> <com.wang.avi.AVLoadingIndicatorView android:id="@+id/view_loading" android:layout_width="48dp" android:layout_height="wrap_content" android:layout_centerInParent="true" android:layout_marginBottom="8dp" android:layout_marginTop="8dp" android:visibility="gone" app:indicatorColor="@color/black" app:indicatorName="BallPulseIndicator" app:layout_constraintBottom_toBottomOf="@+id/recycler_view_pinned" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" tools:visibility="visible" /> </android.support.constraint.ConstraintLayout>