diff options
author | Allan Wang <me@allanwang.ca> | 2017-12-21 02:16:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-21 02:16:34 -0500 |
commit | d683cae6ffe644a9f63eea6cf3b7e59d2bde617b (patch) | |
tree | 517fe1d44c27084ccd87507d9804ba28f15c1647 /app/src/main/res/layout/view_content_base_recycler.xml | |
parent | 82f9aca96493316bc62008f2b3167d34a6029b38 (diff) | |
download | frost-d683cae6ffe644a9f63eea6cf3b7e59d2bde617b.tar.gz frost-d683cae6ffe644a9f63eea6cf3b7e59d2bde617b.tar.bz2 frost-d683cae6ffe644a9f63eea6cf3b7e59d2bde617b.zip |
Enhancement/fragment interface (#564)
* Begin fragment interfaces and themable contracts
* Prepare swiperefresh interface
* Snapshot
* Add compilable version
* Revamp once more
* Finalize layouts
* Cleanup
Diffstat (limited to 'app/src/main/res/layout/view_content_base_recycler.xml')
-rw-r--r-- | app/src/main/res/layout/view_content_base_recycler.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app/src/main/res/layout/view_content_base_recycler.xml b/app/src/main/res/layout/view_content_base_recycler.xml new file mode 100644 index 00000000..efe69913 --- /dev/null +++ b/app/src/main/res/layout/view_content_base_recycler.xml @@ -0,0 +1,32 @@ +<?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:id="@id/content_frame" + android:layout_width="match_parent" + android:layout_height="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior"> + + <android.support.v4.widget.SwipeRefreshLayout + android:id="@id/content_refresh" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <com.pitchedapps.frost.views.FrostRecyclerView + android:id="@id/content_core" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:focusable="true" + android:focusableInTouchMode="true" + app:layoutManager="android.support.v7.widget.LinearLayoutManager" + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> + + </android.support.v4.widget.SwipeRefreshLayout> + + <ProgressBar + android:id="@id/content_progress" + style="@style/FrostProgressBar" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_gravity="top" /> + +</FrameLayout>
\ No newline at end of file |