From 9979c91b3cc58a13e72e84208d1b79f71ee0dc50 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 16 Sep 2020 20:35:31 +0800 Subject: Remove some unused resources. --- .../Adapter/CommentAndPostRecyclerViewAdapter.java | 2 +- app/src/main/res/drawable-v21/ic_menu_camera.xml | 12 ------ app/src/main/res/drawable-v21/ic_menu_gallery.xml | 9 ----- app/src/main/res/drawable-v21/ic_menu_manage.xml | 9 ----- app/src/main/res/drawable-v21/ic_menu_send.xml | 9 ----- app/src/main/res/drawable-v21/ic_menu_share.xml | 9 ----- .../main/res/drawable-v21/ic_menu_slideshow.xml | 9 ----- .../exo_player_autoplay_button_background.xml | 9 ----- app/src/main/res/drawable/gold.xml | 9 ----- app/src/main/res/drawable/ic_random_24.xml | 9 ----- .../main/res/drawable/ic_refresh_toolbar_24dp.xml | 5 --- .../main/res/drawable/ic_subscritptions_24dp.xml | 9 ----- .../main/res/layout/activity_view_imgur_media.xml | 2 +- .../main/res/layout/content_view_user_detail.xml | 10 ----- app/src/main/res/layout/fragment_crash_reports.xml | 6 --- app/src/main/res/layout/item_crash_report.xml | 8 ---- app/src/main/res/menu/menu_search.xml | 11 ------ app/src/main/res/values-night/colors.xml | 1 - app/src/main/res/values-w820dp/dimens.xml | 6 --- app/src/main/res/values/arrays.xml | 9 ----- app/src/main/res/values/colors.xml | 1 - app/src/main/res/values/dimens.xml | 6 --- app/src/main/res/values/drawables.xml | 8 ---- app/src/main/res/values/strings.xml | 43 ---------------------- app/src/main/res/values/styles.xml | 11 ------ 25 files changed, 2 insertions(+), 220 deletions(-) delete mode 100644 app/src/main/res/drawable-v21/ic_menu_camera.xml delete mode 100644 app/src/main/res/drawable-v21/ic_menu_gallery.xml delete mode 100644 app/src/main/res/drawable-v21/ic_menu_manage.xml delete mode 100644 app/src/main/res/drawable-v21/ic_menu_send.xml delete mode 100644 app/src/main/res/drawable-v21/ic_menu_share.xml delete mode 100644 app/src/main/res/drawable-v21/ic_menu_slideshow.xml delete mode 100644 app/src/main/res/drawable/exo_player_autoplay_button_background.xml delete mode 100644 app/src/main/res/drawable/gold.xml delete mode 100644 app/src/main/res/drawable/ic_random_24.xml delete mode 100644 app/src/main/res/drawable/ic_refresh_toolbar_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_subscritptions_24dp.xml delete mode 100644 app/src/main/res/layout/content_view_user_detail.xml delete mode 100644 app/src/main/res/layout/fragment_crash_reports.xml delete mode 100644 app/src/main/res/layout/item_crash_report.xml delete mode 100644 app/src/main/res/menu/menu_search.xml delete mode 100644 app/src/main/res/values-w820dp/dimens.xml delete mode 100644 app/src/main/res/values/drawables.xml (limited to 'app') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java index 9298c0b2..67447e0d 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java @@ -2144,7 +2144,7 @@ public class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter { if (mPost.isArchived()) { - Toast.makeText(mActivity, R.string.archived_post_reply_unavailable, Toast.LENGTH_SHORT).show(); + Toast.makeText(mActivity, R.string.archived_post_comment_unavailable, Toast.LENGTH_SHORT).show(); return; } diff --git a/app/src/main/res/drawable-v21/ic_menu_camera.xml b/app/src/main/res/drawable-v21/ic_menu_camera.xml deleted file mode 100644 index 0d9ea104..00000000 --- a/app/src/main/res/drawable-v21/ic_menu_camera.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/app/src/main/res/drawable-v21/ic_menu_gallery.xml b/app/src/main/res/drawable-v21/ic_menu_gallery.xml deleted file mode 100644 index f6872c40..00000000 --- a/app/src/main/res/drawable-v21/ic_menu_gallery.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable-v21/ic_menu_manage.xml b/app/src/main/res/drawable-v21/ic_menu_manage.xml deleted file mode 100644 index c1be60b3..00000000 --- a/app/src/main/res/drawable-v21/ic_menu_manage.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - \ No newline at end of file diff --git a/app/src/main/res/drawable-v21/ic_menu_send.xml b/app/src/main/res/drawable-v21/ic_menu_send.xml deleted file mode 100644 index 00c668c6..00000000 --- a/app/src/main/res/drawable-v21/ic_menu_send.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable-v21/ic_menu_share.xml b/app/src/main/res/drawable-v21/ic_menu_share.xml deleted file mode 100644 index a28fb9e2..00000000 --- a/app/src/main/res/drawable-v21/ic_menu_share.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable-v21/ic_menu_slideshow.xml b/app/src/main/res/drawable-v21/ic_menu_slideshow.xml deleted file mode 100644 index 209aa643..00000000 --- a/app/src/main/res/drawable-v21/ic_menu_slideshow.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/exo_player_autoplay_button_background.xml b/app/src/main/res/drawable/exo_player_autoplay_button_background.xml deleted file mode 100644 index 0ad9af8e..00000000 --- a/app/src/main/res/drawable/exo_player_autoplay_button_background.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/gold.xml b/app/src/main/res/drawable/gold.xml deleted file mode 100644 index 333984f4..00000000 --- a/app/src/main/res/drawable/gold.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - diff --git a/app/src/main/res/drawable/ic_random_24.xml b/app/src/main/res/drawable/ic_random_24.xml deleted file mode 100644 index 002ff2d7..00000000 --- a/app/src/main/res/drawable/ic_random_24.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_refresh_toolbar_24dp.xml b/app/src/main/res/drawable/ic_refresh_toolbar_24dp.xml deleted file mode 100644 index cf8ba97f..00000000 --- a/app/src/main/res/drawable/ic_refresh_toolbar_24dp.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_subscritptions_24dp.xml b/app/src/main/res/drawable/ic_subscritptions_24dp.xml deleted file mode 100644 index 96b7725a..00000000 --- a/app/src/main/res/drawable/ic_subscritptions_24dp.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/layout/activity_view_imgur_media.xml b/app/src/main/res/layout/activity_view_imgur_media.xml index 8e17ae8b..e727857b 100644 --- a/app/src/main/res/layout/activity_view_imgur_media.xml +++ b/app/src/main/res/layout/activity_view_imgur_media.xml @@ -41,7 +41,7 @@ android:layout_gravity="center" android:gravity="center" android:textColor="@android:color/white" - android:text="@string/error_loading_image_tap_to_retry" + android:text="@string/error_fetching_imgur_media" android:textSize="?attr/font_default" android:fontFamily="?attr/font_family" /> diff --git a/app/src/main/res/layout/content_view_user_detail.xml b/app/src/main/res/layout/content_view_user_detail.xml deleted file mode 100644 index 119bf6ad..00000000 --- a/app/src/main/res/layout/content_view_user_detail.xml +++ /dev/null @@ -1,10 +0,0 @@ - - \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_crash_reports.xml b/app/src/main/res/layout/fragment_crash_reports.xml deleted file mode 100644 index 2c768908..00000000 --- a/app/src/main/res/layout/fragment_crash_reports.xml +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/app/src/main/res/layout/item_crash_report.xml b/app/src/main/res/layout/item_crash_report.xml deleted file mode 100644 index e8b46fd6..00000000 --- a/app/src/main/res/layout/item_crash_report.xml +++ /dev/null @@ -1,8 +0,0 @@ - - \ No newline at end of file diff --git a/app/src/main/res/menu/menu_search.xml b/app/src/main/res/menu/menu_search.xml deleted file mode 100644 index 0e33b2dd..00000000 --- a/app/src/main/res/menu/menu_search.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index e4d0fdcd..d318aaa5 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -4,7 +4,6 @@ #121212 #FF4081 #88000000 - #FFC107 #121212 #FFFFFF #242424 diff --git a/app/src/main/res/values-w820dp/dimens.xml b/app/src/main/res/values-w820dp/dimens.xml deleted file mode 100644 index 63fc8164..00000000 --- a/app/src/main/res/values-w820dp/dimens.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - 64dp - diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 695ddfeb..9d6e4448 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -170,15 +170,6 @@ User - - 0 - 1 - 2 - 3 - 4 - 5 - - Jan 2, 2020, 01:00 Jan 2, 2020, 01:00 PM diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 03423272..f76e009a 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -4,7 +4,6 @@ #0D47A1 #FF4081 #88000000 - #FFC107 #FFFFFF #000000 #FFFFFF diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 9b9cbf67..744c680a 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -1,15 +1,9 @@ - 16dp - 16dp 8dp 176dp 16dp - 180dp - 16dp 0dp 0dp 16dp - 16dp - 8dp \ No newline at end of file diff --git a/app/src/main/res/values/drawables.xml b/app/src/main/res/values/drawables.xml deleted file mode 100644 index 52c6a6c8..00000000 --- a/app/src/main/res/values/drawables.xml +++ /dev/null @@ -1,8 +0,0 @@ - - @android:drawable/ic_menu_camera - @android:drawable/ic_menu_gallery - @android:drawable/ic_menu_slideshow - @android:drawable/ic_menu_manage - @android:drawable/ic_menu_share - @android:drawable/ic_menu_send - diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3c46cf9f..4087ee9f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -16,7 +16,6 @@ Inbox Settings Saved - Multireddit Create Multireddit Select Subreddits Custom Themes @@ -37,7 +36,6 @@ Open navigation drawer Close navigation drawer - Settings Download Refresh Add a comment @@ -48,7 +46,6 @@ Stop Lazy Mode Send Sort - Subscriptions Hide Post Unhide Post Edit Post @@ -59,7 +56,6 @@ Unmark Spoiler Edit Flair Change Post Layout - View Sidebar Save Edit MultiReddit Delete Multireddit @@ -80,7 +76,6 @@ Error opening System\'s WebView Error loading the image. Tap to retry. - Error loading the gif. Tap to retry. Error loading posts.\nTap to retry. Error loading posts. Error loading this post.\nTap to retry. @@ -95,7 +90,6 @@ Error loading comments.\nTap to retry. Retry - Comments No comments yet. Write a comment? Vote failed Error refreshing the post @@ -110,7 +104,6 @@ Since: Profile - Following Subscriptions Multireddit Inbox @@ -155,7 +148,6 @@ Sending Comment sent Could not send this comment - The comment is sent but unable to get the sent comment User Subject (100 characters max) @@ -179,7 +171,6 @@ Error processing video Download Started. Check the notification for progress. - Download Failed Load more comments Load failed. Tap to retry. @@ -188,7 +179,6 @@ Title Content - URL Choose a subreddit Rules URL @@ -197,7 +187,6 @@ Users MultiReddits - Post Text Link Image @@ -227,9 +216,6 @@ Search in All subreddits - Error loading this post.\nTap to retry. - - Sort Best Hot New @@ -251,7 +237,6 @@ Year All Time - Open link with No browser found There is no app that can handle the share action @@ -276,7 +261,6 @@ Add account Anonymous - Manage accounts Log out Press here to login Login first @@ -322,9 +306,7 @@ Click here to browse all comments - New Comment Account - New Post Comment New Message Subreddit Award @@ -336,14 +318,10 @@ Account Switched. So all other pages are gone. - Account Notification Enable Notifications Check Notifications Interval Theme - Light Theme - Dark Theme - Device default Amoled Dark Interface Gestures & Buttons @@ -560,8 +538,6 @@ Copy All Markdown Copy All Raw Text - Save comment - Unsave comment Exit? @@ -577,7 +553,6 @@ This multireddit already exists Cannot edit this multireddit You are logged out - %1$s selected Delete successfully Delete failed Are you sure? @@ -779,9 +754,6 @@ Cannot find data in clipboard Import theme successfully Parse Theme Failed - Share it to r/Infinity_For_Reddit? - The theme configuration is copied! - Do you want to share it to r/Infinity_For_Reddit so that other people can use it? Duplicate Theme Found A theme in the database is also called %1$s. Do you want to change the name of this imported theme? Rename @@ -799,7 +771,6 @@ Delete all legacy settings successfully Reset all settings successfully - Theme Preview u/Hostilenemy r/Infinity_For_Reddit Primary Text @@ -888,19 +859,5 @@ View Full Markdown Unlock Account Section - - Messages - Sync - - - Your signature - Default reply action - - - Sync email periodically - Download incoming attachments - Automatically download attachments for incoming emails - - Only download attachments when manually requested diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 30c3ab36..eb4714b0 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -23,10 +23,6 @@ @android:color/transparent - - -