diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-05 07:28:53 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-05 07:28:53 +0000 |
commit | 199690355be9fb461ceddc346a9cc68a75940aa1 (patch) | |
tree | 983184cdc1c6c17118eabc3b7d29c61d141ce731 /app/src/main/res/layout | |
parent | 0d1fcecde60bbb1eb3b43736807883b12e54b2e8 (diff) | |
download | infinity-for-reddit-199690355be9fb461ceddc346a9cc68a75940aa1.tar infinity-for-reddit-199690355be9fb461ceddc346a9cc68a75940aa1.tar.gz infinity-for-reddit-199690355be9fb461ceddc346a9cc68a75940aa1.tar.bz2 infinity-for-reddit-199690355be9fb461ceddc346a9cc68a75940aa1.tar.lz infinity-for-reddit-199690355be9fb461ceddc346a9cc68a75940aa1.tar.xz infinity-for-reddit-199690355be9fb461ceddc346a9cc68a75940aa1.tar.zst infinity-for-reddit-199690355be9fb461ceddc346a9cc68a75940aa1.zip |
Filtering posts to specific type when the type chip is clicked in posts. Minor bugs fixed related to PostDataSource to continue loading posts.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_filtered_posts.xml | 29 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_subreddit_listing.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_user_listing.xml | 1 |
3 files changed, 31 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_filtered_posts.xml b/app/src/main/res/layout/activity_filtered_posts.xml new file mode 100644 index 00000000..48c06348 --- /dev/null +++ b/app/src/main/res/layout/activity_filtered_posts.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.coordinatorlayout.widget.CoordinatorLayout 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" + tools:context=".FilteredPostsActivity"> + + <com.google.android.material.appbar.AppBarLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:theme="@style/AppTheme.AppBarOverlay"> + + <androidx.appcompat.widget.Toolbar + android:id="@+id/toolbar_filtered_posts_activity" + android:layout_width="match_parent" + android:layout_height="?attr/actionBarSize" + app:popupTheme="@style/AppTheme.PopupOverlay" + app:navigationIcon="?attr/homeAsUpIndicator" /> + + </com.google.android.material.appbar.AppBarLayout> + + <FrameLayout + android:id="@+id/frame_layout_filtered_posts_activity" + android:layout_width="match_parent" + android:layout_height="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> + +</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/fragment_subreddit_listing.xml b/app/src/main/res/layout/fragment_subreddit_listing.xml index d6fba93a..77f08627 100644 --- a/app/src/main/res/layout/fragment_subreddit_listing.xml +++ b/app/src/main/res/layout/fragment_subreddit_listing.xml @@ -13,6 +13,7 @@ android:layout_height="wrap_content" android:layout_marginTop="16dp" android:layout_marginBottom="16dp" + android:background="@color/backgroundColor" app:mlpb_progress_stoke_width="3dp" app:mlpb_progress_color="@color/colorAccent" android:layout_gravity="center_horizontal"/> diff --git a/app/src/main/res/layout/fragment_user_listing.xml b/app/src/main/res/layout/fragment_user_listing.xml index b69ed7ae..a877cac4 100644 --- a/app/src/main/res/layout/fragment_user_listing.xml +++ b/app/src/main/res/layout/fragment_user_listing.xml @@ -13,6 +13,7 @@ android:layout_height="wrap_content" android:layout_marginTop="16dp" android:layout_marginBottom="16dp" + android:background="@color/backgroundColor" app:mlpb_progress_stoke_width="3dp" app:mlpb_progress_color="@color/colorAccent" android:layout_gravity="center_horizontal"/> |