From 84e4dd09c3bb585c4cfc4166c9f9207610458cf2 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 28 Oct 2020 08:59:57 +0800 Subject: Add an option to filter subreddits in popular and all. --- .../activity_subreddit_filter_popular_and_all.xml | 52 ++++++++++++++++++++++ .../main/res/layout/item_selected_subreddit.xml | 6 ++- 2 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/layout/activity_subreddit_filter_popular_and_all.xml (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_subreddit_filter_popular_and_all.xml b/app/src/main/res/layout/activity_subreddit_filter_popular_and_all.xml new file mode 100644 index 00000000..6a342718 --- /dev/null +++ b/app/src/main/res/layout/activity_subreddit_filter_popular_and_all.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_selected_subreddit.xml b/app/src/main/res/layout/item_selected_subreddit.xml index 6e1a570a..2e8ae1c9 100644 --- a/app/src/main/res/layout/item_selected_subreddit.xml +++ b/app/src/main/res/layout/item_selected_subreddit.xml @@ -15,6 +15,7 @@ android:layout_gravity="center_vertical" android:layout_marginEnd="16dp" android:textSize="?attr/font_default" + android:textColor="?attr/primaryTextColor" android:fontFamily="?attr/font_family" /> + android:src="@drawable/ic_delete_24dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground" /> \ No newline at end of file -- cgit v1.2.3