parent
dcb96597c4
commit
01a06ba047
@ -1,20 +1,48 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<FrameLayout 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="?attr/tab_page_margin_drawable"> |
||||
|
||||
<android.support.v4.widget.SwipeRefreshLayout |
||||
android:id="@+id/swipe_refresh_layout" |
||||
<android.support.constraint.ConstraintLayout |
||||
android:layout_width="640dp" |
||||
android:layout_height="match_parent" |
||||
android:layout_gravity="center_horizontal" |
||||
android:background="?attr/window_background"> |
||||
|
||||
<android.support.v7.widget.RecyclerView |
||||
android:id="@+id/recycler_view" |
||||
<android.support.v4.widget.SwipeRefreshLayout |
||||
android:id="@+id/swipe_refresh_layout" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" /> |
||||
</android.support.v4.widget.SwipeRefreshLayout> |
||||
android:layout_height="match_parent"> |
||||
|
||||
<android.support.v7.widget.RecyclerView |
||||
android:id="@+id/recycler_view" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" /> |
||||
|
||||
</android.support.v4.widget.SwipeRefreshLayout> |
||||
|
||||
<ProgressBar |
||||
android:id="@+id/progress_bar" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
app:layout_constraintBottom_toBottomOf="parent" |
||||
app:layout_constraintLeft_toLeftOf="parent" |
||||
app:layout_constraintRight_toRightOf="parent" |
||||
app:layout_constraintTop_toTopOf="parent" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/nothing_message" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:drawablePadding="16dp" |
||||
android:text="@string/footer_empty" |
||||
android:textAlignment="center" |
||||
android:textSize="?attr/status_text_medium" |
||||
app:layout_constraintBottom_toBottomOf="parent" |
||||
app:layout_constraintLeft_toLeftOf="parent" |
||||
app:layout_constraintRight_toRightOf="parent" |
||||
app:layout_constraintTop_toTopOf="parent" /> |
||||
</android.support.constraint.ConstraintLayout> |
||||
</FrameLayout> |
Loading…
Reference in new issue