From 257a40eefa31aa6018f88782477219ebccb797c0 Mon Sep 17 00:00:00 2001 From: Alexander Bakker Date: Sat, 21 Sep 2024 14:42:37 +0200 Subject: [PATCH] Remove some unused resources (and increase severity of check) --- app/build.gradle | 1 - app/lint.xml | 7 +++++- .../main/res/color/dialog_button_color.xml | 5 ---- .../res/color/dialog_button_ripple_color.xml | 23 ------------------- .../drawable/ic_outline_filter_list_24.xml | 10 -------- .../main/res/drawable/rounded_background.xml | 6 ----- app/src/main/res/values-w600dp/dimens.xml | 3 --- app/src/main/res/values-w60dp/dimens.xml | 3 --- app/src/main/res/values/colors.xml | 2 +- app/src/main/res/values/dimens.xml | 4 ---- app/src/main/res/values/strings.xml | 12 +++++----- app/src/main/res/values/themes.xml | 2 +- 12 files changed, 14 insertions(+), 64 deletions(-) delete mode 100644 app/src/main/res/color/dialog_button_color.xml delete mode 100644 app/src/main/res/color/dialog_button_ripple_color.xml delete mode 100644 app/src/main/res/drawable/ic_outline_filter_list_24.xml delete mode 100644 app/src/main/res/drawable/rounded_background.xml delete mode 100644 app/src/main/res/values-w600dp/dimens.xml delete mode 100644 app/src/main/res/values-w60dp/dimens.xml diff --git a/app/build.gradle b/app/build.gradle index 97cbac61e4..4fc2bbab9b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -108,7 +108,6 @@ android { lint { abortOnError true checkDependencies true - disable 'MissingQuantity', 'MissingTranslation' } buildFeatures { buildConfig true diff --git a/app/lint.xml b/app/lint.xml index 4cdb0450b5..f9f30d6e63 100644 --- a/app/lint.xml +++ b/app/lint.xml @@ -1,10 +1,15 @@ + + - + + + + diff --git a/app/src/main/res/color/dialog_button_color.xml b/app/src/main/res/color/dialog_button_color.xml deleted file mode 100644 index 6abb6590fd..0000000000 --- a/app/src/main/res/color/dialog_button_color.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/app/src/main/res/color/dialog_button_ripple_color.xml b/app/src/main/res/color/dialog_button_ripple_color.xml deleted file mode 100644 index d5a3e9d93b..0000000000 --- a/app/src/main/res/color/dialog_button_ripple_color.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_outline_filter_list_24.xml b/app/src/main/res/drawable/ic_outline_filter_list_24.xml deleted file mode 100644 index ac6b976198..0000000000 --- a/app/src/main/res/drawable/ic_outline_filter_list_24.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/rounded_background.xml b/app/src/main/res/drawable/rounded_background.xml deleted file mode 100644 index 682c748a9f..0000000000 --- a/app/src/main/res/drawable/rounded_background.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/app/src/main/res/values-w600dp/dimens.xml b/app/src/main/res/values-w600dp/dimens.xml deleted file mode 100644 index 311a717f8b..0000000000 --- a/app/src/main/res/values-w600dp/dimens.xml +++ /dev/null @@ -1,3 +0,0 @@ - - 36sp - diff --git a/app/src/main/res/values-w60dp/dimens.xml b/app/src/main/res/values-w60dp/dimens.xml deleted file mode 100644 index f93bfa8c5d..0000000000 --- a/app/src/main/res/values-w60dp/dimens.xml +++ /dev/null @@ -1,3 +0,0 @@ - - 32sp - diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 08860e029a..38d4593774 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,4 +1,4 @@ - + #2b5bb5 #ffffff #d9e2ff diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 48b396f653..104bdeb936 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -1,8 +1,4 @@ - - 16dp - 16dp 16dp 48dp - 46sp diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index fd6cb2fd37..79d77d9f0c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,4 +1,4 @@ - + Aegis Aegis Authenticator Beem Development @@ -555,23 +555,23 @@ Next to the issuer Below the issuer - + %d second ago %d seconds ago - + %d minute ago %d minutes ago - + %d hour ago %d hours ago - + %d day ago %d days ago - + %d year ago %d years ago diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index f6529d4c81..8f84698ca0 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -248,7 +248,7 @@