diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-03-27 15:34:11 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-03-27 15:34:11 +0000 |
commit | daa6b06617f3cc2fe189b68a427e91d830462a52 (patch) | |
tree | 9e5ba556f36a33cad60fad5986e5694b6620ebbb /app/src/main/res/layout/fragment_sidebar.xml | |
parent | 7e222091c8ae8619c8f3bed297bb248f07177261 (diff) | |
download | infinity-for-reddit-daa6b06617f3cc2fe189b68a427e91d830462a52.tar infinity-for-reddit-daa6b06617f3cc2fe189b68a427e91d830462a52.tar.gz infinity-for-reddit-daa6b06617f3cc2fe189b68a427e91d830462a52.tar.bz2 infinity-for-reddit-daa6b06617f3cc2fe189b68a427e91d830462a52.tar.lz infinity-for-reddit-daa6b06617f3cc2fe189b68a427e91d830462a52.tar.xz infinity-for-reddit-daa6b06617f3cc2fe189b68a427e91d830462a52.tar.zst infinity-for-reddit-daa6b06617f3cc2fe189b68a427e91d830462a52.zip |
Add a SidebarFragment in ViewSubredditDetailActivity. Fix some UI issues.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/fragment_sidebar.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_sidebar.xml b/app/src/main/res/layout/fragment_sidebar.xml new file mode 100644 index 00000000..118bbd0e --- /dev/null +++ b/app/src/main/res/layout/fragment_sidebar.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + tools:application="ml.docilealligator.infinityforreddit.Fragment.SidebarFragment"> + + <androidx.swiperefreshlayout.widget.SwipeRefreshLayout + android:id="@+id/swipe_refresh_layout_sidebar_fragment" + android:layout_width="match_parent" + android:layout_height="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior"> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/markdown_recycler_view_sidebar_fragment" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:padding="16dp" + android:clipToPadding="false" /> + + </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> + +</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file |