diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-09-16 12:35:31 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-09-16 12:35:31 +0000 |
commit | 9979c91b3cc58a13e72e84208d1b79f71ee0dc50 (patch) | |
tree | 244197868e2a5e13d7aaa48c7973cf6298b3c650 /app/src | |
parent | 350acdb5009c5fdca5c19727ede88bf123b44f6d (diff) | |
download | infinity-for-reddit-9979c91b3cc58a13e72e84208d1b79f71ee0dc50.tar infinity-for-reddit-9979c91b3cc58a13e72e84208d1b79f71ee0dc50.tar.gz infinity-for-reddit-9979c91b3cc58a13e72e84208d1b79f71ee0dc50.tar.bz2 infinity-for-reddit-9979c91b3cc58a13e72e84208d1b79f71ee0dc50.tar.lz infinity-for-reddit-9979c91b3cc58a13e72e84208d1b79f71ee0dc50.tar.xz infinity-for-reddit-9979c91b3cc58a13e72e84208d1b79f71ee0dc50.tar.zst infinity-for-reddit-9979c91b3cc58a13e72e84208d1b79f71ee0dc50.zip |
Remove some unused resources.
Diffstat (limited to '')
25 files changed, 2 insertions, 220 deletions
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<Recy commentsCountTextView.setOnClickListener(view -> { 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 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="24dp" - android:height="24dp" - android:viewportHeight="24.0" - android:viewportWidth="24.0"> - <path - android:fillColor="#FF000000" - android:pathData="M12,12m-3.2,0a3.2,3.2 0,1 1,6.4 0a3.2,3.2 0,1 1,-6.4 0" /> - <path - android:fillColor="#FF000000" - android:pathData="M9,2L7.17,4H4c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V6c0,-1.1 -0.9,-2 -2,-2h-3.17L15,2H9zm3,15c-2.76,0 -5,-2.24 -5,-5s2.24,-5 5,-5 5,2.24 5,5 -2.24,5 -5,5z" /> -</vector> 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 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="24dp" - android:height="24dp" - android:viewportHeight="24.0" - android:viewportWidth="24.0"> - <path - android:fillColor="#FF000000" - android:pathData="M22,16V4c0,-1.1 -0.9,-2 -2,-2H8c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2zm-11,-4l2.03,2.71L16,11l4,5H8l3,-4zM2,6v14c0,1.1 0.9,2 2,2h14v-2H4V6H2z" /> -</vector> 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 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="24dp" - android:height="24dp" - android:viewportHeight="24.0" - android:viewportWidth="24.0"> - <path - android:fillColor="#FF000000" - android:pathData="M22.7,19l-9.1,-9.1c0.9,-2.3 0.4,-5 -1.5,-6.9 -2,-2 -5,-2.4 -7.4,-1.3L9,6 6,9 1.6,4.7C0.4,7.1 0.9,10.1 2.9,12.1c1.9,1.9 4.6,2.4 6.9,1.5l9.1,9.1c0.4,0.4 1,0.4 1.4,0l2.3,-2.3c0.5,-0.4 0.5,-1.1 0.1,-1.4z" /> -</vector>
\ 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 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="24dp" - android:height="24dp" - android:viewportHeight="24.0" - android:viewportWidth="24.0"> - <path - android:fillColor="#FF000000" - android:pathData="M2.01,21L23,12 2.01,3 2,10l15,2 -15,2z" /> -</vector> 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 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="24dp" - android:height="24dp" - android:viewportHeight="24.0" - android:viewportWidth="24.0"> - <path - android:fillColor="#FF000000" - android:pathData="M18,16.08c-0.76,0 -1.44,0.3 -1.96,0.77L8.91,12.7c0.05,-0.23 0.09,-0.46 0.09,-0.7s-0.04,-0.47 -0.09,-0.7l7.05,-4.11c0.54,0.5 1.25,0.81 2.04,0.81 1.66,0 3,-1.34 3,-3s-1.34,-3 -3,-3 -3,1.34 -3,3c0,0.24 0.04,0.47 0.09,0.7L8.04,9.81C7.5,9.31 6.79,9 6,9c-1.66,0 -3,1.34 -3,3s1.34,3 3,3c0.79,0 1.5,-0.31 2.04,-0.81l7.12,4.16c-0.05,0.21 -0.08,0.43 -0.08,0.65 0,1.61 1.31,2.92 2.92,2.92 1.61,0 2.92,-1.31 2.92,-2.92s-1.31,-2.92 -2.92,-2.92z" /> -</vector> 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 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="24dp" - android:height="24dp" - android:viewportHeight="24.0" - android:viewportWidth="24.0"> - <path - android:fillColor="#FF000000" - android:pathData="M4,6H2v14c0,1.1 0.9,2 2,2h14v-2H4V6zm16,-4H8c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2V4c0,-1.1 -0.9,-2 -2,-2zm-8,12.5v-9l6,4.5 -6,4.5z" /> -</vector> 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 @@ -<?xml version="1.0" encoding="utf-8"?> -<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > - <item> - <shape android:shape="oval"> - <solid android:color="#02EEE6" /> - </shape> - </item> - -</layer-list>
\ 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 @@ -<vector android:height="24dp" android:viewportHeight="512" - android:viewportWidth="512" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> - <path android:fillColor="#FF3636" android:pathData="M470.191,46.036L408.754,5.824c-16.42,-10.748 -38.501,-6.19 -49.334,10.141L248.83,175.589c-2.666,3.847 -2.86,8.89 -0.497,12.931l67.332,115.201c2.184,3.737 6.135,6.208 10.463,6.233c0.029,0 0.058,0 0.087,0c4.785,0 9.487,-2.287 12.388,-6.537L480.357,95.734l0.162,-0.242C491.306,79.01 486.673,56.824 470.191,46.036z"/> - <path android:fillColor="#FF712F" android:pathData="M338.563,286.469L152.591,16.703c-5.229,-7.892 -13.204,-13.301 -22.479,-15.238c-9.342,-1.95 -18.883,-0.147 -26.867,5.079L41.808,46.757C25.326,57.546 20.694,79.732 31.482,96.214l0.112,0.172l141.293,203.513c1.582,2.279 4.139,3.687 6.911,3.805l146.445,6.251c2.932,0 5.894,-0.859 8.49,-2.649C341.544,302.611 343.259,293.281 338.563,286.469z"/> - <path android:fillColor="#FFD561" android:pathData="M383.798,384.115c0,70.514 -57.37,127.885 -127.885,127.885s-127.885,-57.37 -127.885,-127.885c0,-70.524 57.37,-127.895 127.885,-127.895S383.798,313.59 383.798,384.115z"/> - <path android:fillColor="#FFB64C" android:pathData="M383.798,384.115c0,70.514 -57.37,127.885 -127.885,127.885V256.22C326.428,256.22 383.798,313.59 383.798,384.115z"/> - <path android:fillColor="#FFF2D4" android:pathData="M322.143,381.498l-20.435,19.916l4.824,28.116c1.139,6.612 -1.528,13.164 -6.952,17.099c-5.433,3.945 -12.485,4.455 -18.418,1.328l-25.249,-13.274l-25.249,13.284c-2.577,1.348 -5.373,2.028 -8.15,2.028c-3.616,0 -7.191,-1.139 -10.258,-3.366c-5.433,-3.935 -8.09,-10.487 -6.962,-17.099l4.824,-28.116l-20.425,-19.906c-4.804,-4.684 -6.502,-11.546 -4.425,-17.928c2.068,-6.372 7.471,-10.937 14.113,-11.896l28.226,-4.105L240.232,322c2.966,-6.013 8.979,-9.748 15.681,-9.748c3.346,0 6.532,0.939 9.239,2.617c2.717,1.688 4.954,4.125 6.442,7.131l12.625,25.579l28.226,4.105c6.642,0.959 12.045,5.523 14.113,11.896C328.635,369.952 326.937,376.824 322.143,381.498z"/> - <path android:fillColor="#F9D8B4" android:pathData="M322.143,381.498l-20.435,19.916l4.824,28.116c1.139,6.612 -1.528,13.164 -6.952,17.099c-5.433,3.945 -12.485,4.455 -18.418,1.328l-25.249,-13.274V312.252c3.346,0 6.532,0.939 9.239,2.617c2.717,1.688 4.954,4.125 6.442,7.131l12.625,25.579l28.226,4.105c6.642,0.959 12.045,5.523 14.113,11.896C328.635,369.952 326.937,376.824 322.143,381.498z"/> -</vector> 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 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="24dp" - android:height="24dp" - android:viewportWidth="24" - android:viewportHeight="24"> - <path - android:fillColor="@android:color/white" - android:pathData="M19,3L5,3c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2L21,5c0,-1.1 -0.9,-2 -2,-2zM7.5,18c-0.83,0 -1.5,-0.67 -1.5,-1.5S6.67,15 7.5,15s1.5,0.67 1.5,1.5S8.33,18 7.5,18zM7.5,9C6.67,9 6,8.33 6,7.5S6.67,6 7.5,6 9,6.67 9,7.5 8.33,9 7.5,9zM12,13.5c-0.83,0 -1.5,-0.67 -1.5,-1.5s0.67,-1.5 1.5,-1.5 1.5,0.67 1.5,1.5 -0.67,1.5 -1.5,1.5zM16.5,18c-0.83,0 -1.5,-0.67 -1.5,-1.5s0.67,-1.5 1.5,-1.5 1.5,0.67 1.5,1.5 -0.67,1.5 -1.5,1.5zM16.5,9c-0.83,0 -1.5,-0.67 -1.5,-1.5S15.67,6 16.5,6s1.5,0.67 1.5,1.5S17.33,9 16.5,9z" /> -</vector> 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 @@ -<vector android:height="24dp" - android:viewportHeight="24.0" android:viewportWidth="24.0" - android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> - <path android:fillColor="#FFFFFF" android:pathData="M17.65,6.35C16.2,4.9 14.21,4 12,4c-4.42,0 -7.99,3.58 -7.99,8s3.57,8 7.99,8c3.73,0 6.84,-2.55 7.73,-6h-2.08c-0.82,2.33 -3.04,4 -5.65,4 -3.31,0 -6,-2.69 -6,-6s2.69,-6 6,-6c1.66,0 3.14,0.69 4.22,1.78L13,11h7V4l-2.35,2.35z"/> -</vector> 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 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="24dp" - android:height="24dp" - android:viewportWidth="24" - android:viewportHeight="24"> - <path - android:fillColor="#FF000000" - android:pathData="M11.99,2C6.47,2 2,6.48 2,12s4.47,10 9.99,10C17.52,22 22,17.52 22,12S17.52,2 11.99,2zM19.47,9.16l-5.01,-0.43 -2,-4.71c3.21,0.19 5.91,2.27 7.01,5.14zM14.4,15.42L12,13.98l-2.39,1.44 0.63,-2.72 -2.11,-1.83 2.78,-0.24L12,8.06l1.09,2.56 2.78,0.24 -2.11,1.83 0.64,2.73zM11.54,4.02l-2,4.72 -5.02,0.43c1.1,-2.88 3.8,-4.97 7.02,-5.15zM4,12c0,-0.64 0.08,-1.26 0.23,-1.86l3.79,3.28 -1.11,4.75C5.13,16.7 4,14.48 4,12zM7.84,18.82L12,16.31l4.16,2.5c-1.22,0.75 -2.64,1.19 -4.17,1.19 -1.52,0 -2.94,-0.44 -4.15,-1.18zM17.09,18.17l-1.11,-4.75 3.79,-3.28c0.14,0.59 0.23,1.22 0.23,1.86 0,2.48 -1.14,4.7 -2.91,6.17z"/> -</vector> 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 @@ -<?xml version="1.0" encoding="utf-8"?> -<FrameLayout 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:id="@+id/frame_layout_view_user_detail_activity" - android:layout_width="match_parent" - android:layout_height="wrap_content" - app:layout_behavior="@string/appbar_scrolling_view_behavior" - tools:application=".ViewUserDetailActivity" - tools:showIn="@layout/activity_view_user_detail" />
\ 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 @@ -<androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:id="@+id/recycler_view_crash_reports_fragment" - tools:context="ml.docilealligator.infinityforreddit.Settings.CrashReportsFragment" />
\ 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 @@ -<?xml version="1.0" encoding="utf-8"?> -<TextView - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_16" - android:fontFamily="?attr/font_family" />
\ 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 @@ -<menu 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" - tools:application="ml.docilealligator.infinityforreddit.Activity.SearchResultActivity"> - <item - android:id="@+id/action_search_search_activity" - android:orderInCategory="1" - android:title="@string/action_search" - android:icon="@drawable/ic_search_toolbar_24dp" - app:showAsAction="ifRoom" /> -</menu> 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 @@ <color name="colorPrimaryDark">#121212</color> <color name="colorAccent">#FF4081</color> <color name="transparentActionBarAndExoPlayerControllerColor">#88000000</color> - <color name="gold">#FFC107</color> <color name="backgroundColor">#121212</color> <color name="playButtonBackgroundColor">#FFFFFF</color> <color name="roundedBottomSheetPrimaryBackground">#242424</color> 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 @@ -<resources> - <!-- Example customization of dimensions originally defined in res/values/dimens.xml - (such as screen margins) for screens with more than 820dp of available width. This - would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). --> - <dimen name="activity_horizontal_margin">64dp</dimen> -</resources> 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 @@ <item>User</item> </string-array> - <string-array name="settings_tab_post_type_values"> - <item>0</item> - <item>1</item> - <item>2</item> - <item>3</item> - <item>4</item> - <item>5</item> - </string-array> - <string-array name="settings_time_format"> <item>Jan 2, 2020, 01:00</item> <item>Jan 2, 2020, 01:00 PM</item> 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 @@ <color name="colorPrimaryDark">#0D47A1</color> <color name="colorAccent">#FF4081</color> <color name="transparentActionBarAndExoPlayerControllerColor">#88000000</color> - <color name="gold">#FFC107</color> <color name="backgroundColor">#FFFFFF</color> <color name="playButtonBackgroundColor">#000000</color> <color name="roundedBottomSheetPrimaryBackground">#FFFFFF</color> 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 @@ <resources> <!-- Default screen margins, per the Android Design guidelines. --> - <dimen name="activity_horizontal_margin">16dp</dimen> - <dimen name="activity_vertical_margin">16dp</dimen> <dimen name="nav_header_vertical_spacing">8dp</dimen> <dimen name="nav_header_height">176dp</dimen> <dimen name="fab_margin">16dp</dimen> - <dimen name="app_bar_height">180dp</dimen> - <dimen name="text_margin">16dp</dimen> <dimen name="roundedBottomSheetCornerRadiusLeftPadding">0dp</dimen> <dimen name="roundedBottomSheetCornerRadiusRightPadding">0dp</dimen> <dimen name="staggeredLayoutManagerItemOffset">16dp</dimen> - <dimen name="appbar_padding">16dp</dimen> - <dimen name="appbar_padding_top">8dp</dimen> </resources>
\ 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 @@ -<resources xmlns:android="http://schemas.android.com/apk/res/android"> - <item name="ic_menu_camera" type="drawable">@android:drawable/ic_menu_camera</item> - <item name="ic_menu_gallery" type="drawable">@android:drawable/ic_menu_gallery</item> - <item name="ic_menu_slideshow" type="drawable">@android:drawable/ic_menu_slideshow</item> - <item name="ic_menu_manage" type="drawable">@android:drawable/ic_menu_manage</item> - <item name="ic_menu_share" type="drawable">@android:drawable/ic_menu_share</item> - <item name="ic_menu_send" type="drawable">@android:drawable/ic_menu_send</item> -</resources> 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 @@ <string name="view_message_activity_label">Inbox</string> <string name="settings_activity_label">Settings</string> <string name="account_saved_thing_activity_label">Saved</string> - <string name="multi_reddit_listing_activity_label">Multireddit</string> <string name="create_multi_reddit_activity_label">Create Multireddit</string> <string name="subreddit_multiselection_activity_label">Select Subreddits</string> <string name="custom_theme_listing_activity_label">Custom Themes</string> @@ -37,7 +36,6 @@ <string name="navigation_drawer_open">Open navigation drawer</string> <string name="navigation_drawer_close">Close navigation drawer</string> - <string name="action_settings">Settings</string> <string name="action_download">Download</string> <string name="action_refresh">Refresh</string> <string name="action_add_comment">Add a comment</string> @@ -48,7 +46,6 @@ <string name="action_stop_lazy_mode">Stop Lazy Mode</string> <string name="action_send">Send</string> <string name="action_sort">Sort</string> - <string name="action_subscriptions">Subscriptions</string> <string name="action_hide_post">Hide Post</string> <string name="action_unhide_post">Unhide Post</string> <string name="action_edit_post">Edit Post</string> @@ -59,7 +56,6 @@ <string name="action_unmark_spoiler">Unmark Spoiler</string> <string name="action_edit_flair">Edit Flair</string> <string name="action_change_post_layout">Change Post Layout</string> - <string name="action_view_side_bar">View Sidebar</string> <string name="action_save">Save</string> <string name="action_edit_multi_reddit">Edit MultiReddit</string> <string name="action_delete_multi_reddit">Delete Multireddit</string> @@ -80,7 +76,6 @@ <string name="no_system_webview_error">Error opening System\'s WebView</string> <string name="error_loading_image_tap_to_retry">Error loading the image. Tap to retry.</string> - <string name="error_loading_gif_tap_to_retry">Error loading the gif. Tap to retry.</string> <string name="load_posts_error">Error loading posts.\nTap to retry.</string> <string name="load_more_posts_error">Error loading posts.</string> <string name="load_post_error">Error loading this post.\nTap to retry.</string> @@ -95,7 +90,6 @@ <string name="load_comments_failed">Error loading comments.\nTap to retry.</string> <string name="retry">Retry</string> - <string name="comments">Comments</string> <string name="no_comments_yet">No comments yet. Write a comment?</string> <string name="vote_failed">Vote failed</string> <string name="refresh_post_failed">Error refreshing the post</string> @@ -110,7 +104,6 @@ <string name="since">Since:</string> <string name="profile">Profile</string> - <string name="following">Following</string> <string name="subscriptions">Subscriptions</string> <string name="multi_reddit">Multireddit</string> <string name="inbox">Inbox</string> @@ -155,7 +148,6 @@ <string name="sending_comment">Sending</string> <string name="send_comment_success">Comment sent</string> <string name="send_comment_failed">Could not send this comment</string> - <string name="parse_sent_comment_failed">The comment is sent but unable to get the sent comment</string> <string name="send_message_username_hint">User</string> <string name="send_message_subject_hint">Subject (100 characters max)</string> @@ -179,7 +171,6 @@ <string name="error_processing_video">Error processing video</string> <string name="download_started">Download Started. Check the notification for progress.</string> - <string name="download_failed">Download Failed</string> <string name="comment_load_more_comments">Load more comments</string> <string name="comment_load_more_comments_failed">Load failed. Tap to retry.</string> @@ -188,7 +179,6 @@ <string name="post_title_hint">Title</string> <string name="post_text_content_hint">Content</string> - <string name="post_url_hint">URL</string> <string name="choose_a_subreddit">Choose a subreddit</string> <string name="rules">Rules</string> <string name="post_link_hint">URL</string> @@ -197,7 +187,6 @@ <string name="users">Users</string> <string name="multi_reddits">MultiReddits</string> - <string name="bottom_sheet_post_type">Post</string> <string name="bottom_sheet_post_text">Text</string> <string name="bottom_sheet_post_link">Link</string> <string name="bottom_sheet_post_image">Image</string> @@ -227,9 +216,6 @@ <string name="search_in">Search in</string> <string name="all_subreddits">All subreddits</string> - <string name="error_loading_post">Error loading this post.\nTap to retry.</string> - - <string name="sort">Sort</string> <string name="sort_best">Best</string> <string name="sort_hot">Hot</string> <string name="sort_new">New</string> @@ -251,7 +237,6 @@ <string name="sort_time_year">Year</string> <string name="sort_time_all_time">All Time</string> - <string name="open_link_with">Open link with</string> <string name="no_browser_found">No browser found</string> <string name="no_activity_found_for_share">There is no app that can handle the share action</string> @@ -276,7 +261,6 @@ <string name="add_account">Add account</string> <string name="anonymous_account">Anonymous</string> - <string name="manage_accounts">Manage accounts</string> <string name="log_out">Log out</string> <string name="press_here_to_login">Press here to login</string> <string name="login_first">Login first</string> @@ -322,9 +306,7 @@ <string name="view_all_comments">Click here to browse all comments</string> - <string name="notification_summary_comment">New Comment</string> <string name="notification_summary_account">Account</string> - <string name="notification_summary_post">New Post Comment</string> <string name="notification_summary_message">New Message</string> <string name="notification_summary_subreddit">Subreddit</string> <string name="notification_summary_award">Award</string> @@ -336,14 +318,10 @@ <string name="account_switched">Account Switched. So all other pages are gone.</string> - <string name="settings_account_master_title">Account</string> <string name="settings_notification_master_title">Notification</string> <string name="settings_notification_enable_notification_title">Enable Notifications</string> <string name="settings_notification_interval_title">Check Notifications Interval</string> <string name="settings_theme_title">Theme</string> - <string name="settings_theme_light_theme_summary">Light Theme</string> - <string name="settings_theme_dark_theme_summary">Dark Theme</string> - <string name="settings_theme_system_default_summary">Device default</string> <string name="settings_amoled_dark_title">Amoled Dark</string> <string name="settings_interface_title">Interface</string> <string name="settings_gestures_and_buttons_title">Gestures & Buttons</string> @@ -560,8 +538,6 @@ <string name="copy_all_markdown">Copy All Markdown</string> <string name="copy_all_raw_text">Copy All Raw Text</string> - <string name="save_comment">Save comment</string> - <string name="unsave_comment">Unsave comment</string> <string name="exit_app">Exit?</string> @@ -577,7 +553,6 @@ <string name="duplicate_multi_reddit">This multireddit already exists</string> <string name="edit_multi_reddit_failed">Cannot edit this multireddit</string> <string name="logged_out">You are logged out</string> - <string name="subreddit_selected">%1$s selected</string> <string name="delete_multi_reddit_success">Delete successfully</string> <string name="delete_multi_reddit_failed">Delete failed</string> <string name="delete_multi_reddit_dialog_message">Are you sure?</string> @@ -779,9 +754,6 @@ <string name="no_data_in_clipboard">Cannot find data in clipboard</string> <string name="import_theme_success">Import theme successfully</string> <string name="parse_theme_failed">Parse Theme Failed</string> - <string name="share_theme_to_subreddit_dialog_title">Share it to r/Infinity_For_Reddit?</string> - <string name="share_theme_to_subreddit_dialog_message">The theme configuration is copied! - Do you want to share it to r/Infinity_For_Reddit so that other people can use it?</string> <string name="duplicate_theme_name_dialog_title">Duplicate Theme Found</string> <string name="duplicate_theme_name_dialog_message">A theme in the database is also called %1$s. Do you want to change the name of this imported theme?</string> <string name="rename">Rename</string> @@ -799,7 +771,6 @@ <string name="delete_all_legacy_settings_success">Delete all legacy settings successfully</string> <string name="reset_all_settings_success">Reset all settings successfully</string> - <string name="theme_preview">Theme Preview</string> <string name="username_preview">u/Hostilenemy</string> <string name="subreddit_preview">r/Infinity_For_Reddit</string> <string name="primary_text_preview">Primary Text</string> @@ -888,19 +859,5 @@ <string name="view_full_comment_markdown">View Full Markdown</string> <string name="unlock_account_section">Unlock Account Section</string> - <!-- Preference Titles --> - <string name="messages_header">Messages</string> - <string name="sync_header">Sync</string> - - <!-- Messages Preferences --> - <string name="signature_title">Your signature</string> - <string name="reply_title">Default reply action</string> - - <!-- Sync Preferences --> - <string name="sync_title">Sync email periodically</string> - <string name="attachment_title">Download incoming attachments</string> - <string name="attachment_summary_on">Automatically download attachments for incoming emails - </string> - <string name="attachment_summary_off">Only download attachments when manually requested</string> </resources> 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 @@ <item name="android:statusBarColor">@android:color/transparent</item> </style> - <style name="AppTheme.NoActionBarWithTranslucentWindow" parent="AppTheme.NoActionBarWithTransparentStatusBar"> - <item name="android:windowTranslucentStatus">true</item> - </style> - <style name="AppTheme.Slidable" parent="AppTheme.NoActionBar"> <item name="android:windowIsTranslucent">true</item> <item name="android:windowBackground">@android:color/transparent</item> @@ -59,13 +55,6 @@ <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.DayNight" /> - <style name="CustomTabLayout" parent="Widget.Design.TabLayout"> - <item name="tabIndicatorColor">@android:color/white</item> - <item name="tabIndicatorHeight">3dp</item> - <item name="tabBackground">?attr/selectableItemBackground</item> - <item name="tabSelectedTextColor">@android:color/white</item> - </style> - <style name="MaterialAlertDialogTheme" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog"> <item name="android:textSize">?attr/font_default</item> <item name="android:background">?attr/cardViewBackgroundColor</item> |