aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-12-26 09:30:56 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-12-26 09:30:56 +0000
commit60908860b790d69cedd8fde5d734875633a611a6 (patch)
tree1bedf5de4de0ff1947ebc30a0d47816b59a132b3 /app/src/main/res
parent97b5c5d5c6e4f0327aaa0e864ae1ce36b6e26a15 (diff)
downloadinfinity-for-reddit-60908860b790d69cedd8fde5d734875633a611a6.tar
infinity-for-reddit-60908860b790d69cedd8fde5d734875633a611a6.tar.gz
infinity-for-reddit-60908860b790d69cedd8fde5d734875633a611a6.tar.bz2
infinity-for-reddit-60908860b790d69cedd8fde5d734875633a611a6.tar.lz
infinity-for-reddit-60908860b790d69cedd8fde5d734875633a611a6.tar.xz
infinity-for-reddit-60908860b790d69cedd8fde5d734875633a611a6.tar.zst
infinity-for-reddit-60908860b790d69cedd8fde5d734875633a611a6.zip
Remove SubredditFilter completely.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_subreddit_filter_popular_and_all.xml52
-rw-r--r--app/src/main/res/xml/filter_preferences.xml16
2 files changed, 0 insertions, 68 deletions
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
deleted file mode 100644
index b854ae21..00000000
--- a/app/src/main/res/layout/activity_subreddit_filter_popular_and_all.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?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"
- android:id="@+id/coordinator_layout_subreddit_filter_popular_and_all_activity"
- tools:context=".activities.SubredditFilterPopularAndAllActivity">
-
- <com.google.android.material.appbar.AppBarLayout
- android:id="@+id/appbar_layout_subreddit_filter_popular_and_all_activity"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/AppTheme.AppBarOverlay">
-
- <com.google.android.material.appbar.CollapsingToolbarLayout
- android:id="@+id/collapsing_toolbar_layout_subreddit_filter_popular_and_all_activity"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_scrollFlags="scroll|enterAlways"
- app:titleEnabled="false"
- app:toolbarId="@+id/toolbar_subreddit_filter_popular_and_all_activity">
-
- <androidx.appcompat.widget.Toolbar
- android:id="@+id/toolbar_subreddit_filter_popular_and_all_activity"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:minHeight="?attr/actionBarSize"
- app:popupTheme="@style/AppTheme.PopupOverlay"
- app:navigationIcon="?attr/homeAsUpIndicator" />
-
- </com.google.android.material.appbar.CollapsingToolbarLayout>
-
- </com.google.android.material.appbar.AppBarLayout>
-
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/recycler_view_subreddit_filter_popular_and_all_activity"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior" />
-
- <com.google.android.material.floatingactionbutton.FloatingActionButton
- android:id="@+id/fab_subreddit_filter_popular_and_all_activity"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/fab_margin"
- android:layout_gravity="bottom|end"
- app:backgroundTint="?attr/colorPrimaryLightTheme"
- app:srcCompat="@drawable/ic_add_day_night_24dp"
- app:tint="@android:color/white" />
-
-</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file
diff --git a/app/src/main/res/xml/filter_preferences.xml b/app/src/main/res/xml/filter_preferences.xml
deleted file mode 100644
index f0e4fa62..00000000
--- a/app/src/main/res/xml/filter_preferences.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
-
- <Preference
- app:icon="@drawable/ic_info_preference_24dp"
- app:summary="@string/restart_app_see_changes"
- app:enabled="false" />
-
- <PreferenceCategory
- app:title="@string/settings_subreddit_filter_category" />
-
- <Preference
- app:key="subreddit_filter_popular_and_all"
- app:title="@string/settings_subreddit_filter_popular_and_all" />
-
-</PreferenceScreen> \ No newline at end of file