diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-05-07 22:47:28 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-05-07 22:47:28 +0000 |
commit | cc772b532496c455f16266003699553e2b65b6d3 (patch) | |
tree | 27b46b63b79979ca8b6fee86e6762baa9bd4c9d1 /app/src/main/res | |
parent | 4604e1b366c71620da1862acdbe10937bd90436d (diff) | |
download | infinity-for-reddit-cc772b532496c455f16266003699553e2b65b6d3.tar infinity-for-reddit-cc772b532496c455f16266003699553e2b65b6d3.tar.gz infinity-for-reddit-cc772b532496c455f16266003699553e2b65b6d3.tar.bz2 infinity-for-reddit-cc772b532496c455f16266003699553e2b65b6d3.tar.lz infinity-for-reddit-cc772b532496c455f16266003699553e2b65b6d3.tar.xz infinity-for-reddit-cc772b532496c455f16266003699553e2b65b6d3.tar.zst infinity-for-reddit-cc772b532496c455f16266003699553e2b65b6d3.zip |
Remove Butter Knife. Optimize imports.
Diffstat (limited to 'app/src/main/res')
18 files changed, 11 insertions, 27 deletions
diff --git a/app/src/main/res/drawable-v24/ic_launcher_background.xml b/app/src/main/res/drawable-v24/ic_launcher_background.xml index 54004003..aa3ae0f6 100644 --- a/app/src/main/res/drawable-v24/ic_launcher_background.xml +++ b/app/src/main/res/drawable-v24/ic_launcher_background.xml @@ -1,5 +1,4 @@ <vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" android:width="108dp" android:height="108dp" android:viewportWidth="300" diff --git a/app/src/main/res/font/atkinson_hyperlegible.xml b/app/src/main/res/font/atkinson_hyperlegible.xml index 8316b412..cac6837e 100644 --- a/app/src/main/res/font/atkinson_hyperlegible.xml +++ b/app/src/main/res/font/atkinson_hyperlegible.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<font-family xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto"> +<font-family xmlns:app="http://schemas.android.com/apk/res-auto"> <font app:fontStyle="normal" app:fontWeight="400" diff --git a/app/src/main/res/font/atkinson_hyperlegible_bold_version.xml b/app/src/main/res/font/atkinson_hyperlegible_bold_version.xml index a2d3dd14..0acf6d28 100644 --- a/app/src/main/res/font/atkinson_hyperlegible_bold_version.xml +++ b/app/src/main/res/font/atkinson_hyperlegible_bold_version.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<font-family xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto"> +<font-family xmlns:app="http://schemas.android.com/apk/res-auto"> <font app:fontStyle="normal" app:fontWeight="700" diff --git a/app/src/main/res/layout/fragment_customize_bottom_app_bar.xml b/app/src/main/res/layout/fragment_customize_bottom_app_bar.xml index 196e61a0..7c3fcd69 100644 --- a/app/src/main/res/layout/fragment_customize_bottom_app_bar.xml +++ b/app/src/main/res/layout/fragment_customize_bottom_app_bar.xml @@ -3,7 +3,6 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - xmlns:app="http://schemas.android.com/apk/res-auto" tools:context=".settings.CustomizeBottomAppBarFragment"> <LinearLayout diff --git a/app/src/main/res/layout/fragment_nsfw_and_spoiler.xml b/app/src/main/res/layout/fragment_nsfw_and_spoiler.xml index 8e795f2d..b95a1523 100644 --- a/app/src/main/res/layout/fragment_nsfw_and_spoiler.xml +++ b/app/src/main/res/layout/fragment_nsfw_and_spoiler.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <androidx.core.widget.NestedScrollView 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" diff --git a/app/src/main/res/layout/fragment_post_history.xml b/app/src/main/res/layout/fragment_post_history.xml index 05df9bca..bd0d5ba3 100644 --- a/app/src/main/res/layout/fragment_post_history.xml +++ b/app/src/main/res/layout/fragment_post_history.xml @@ -3,7 +3,6 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - xmlns:app="http://schemas.android.com/apk/res-auto" tools:context=".settings.PostHistoryFragment"> <LinearLayout diff --git a/app/src/main/res/layout/item_filter_fragment_header.xml b/app/src/main/res/layout/item_filter_fragment_header.xml index f5a6b870..ab22b911 100644 --- a/app/src/main/res/layout/item_filter_fragment_header.xml +++ b/app/src/main/res/layout/item_filter_fragment_header.xml @@ -2,7 +2,6 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" - xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical"> <TextView diff --git a/app/src/main/res/layout/item_post_gallery.xml b/app/src/main/res/layout/item_post_gallery.xml index 128b65dc..5153fd8f 100644 --- a/app/src/main/res/layout/item_post_gallery.xml +++ b/app/src/main/res/layout/item_post_gallery.xml @@ -3,7 +3,6 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" - xmlns:tools="http://schemas.android.com/tools" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" app:cardElevation="2dp" diff --git a/app/src/main/res/layout/item_post_gallery_gallery_type.xml b/app/src/main/res/layout/item_post_gallery_gallery_type.xml index d1ee61b6..e89a5a51 100644 --- a/app/src/main/res/layout/item_post_gallery_gallery_type.xml +++ b/app/src/main/res/layout/item_post_gallery_gallery_type.xml @@ -3,7 +3,6 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" - xmlns:tools="http://schemas.android.com/tools" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" app:cardElevation="2dp" diff --git a/app/src/main/res/layout/item_reddit_gallery_submission_add_image.xml b/app/src/main/res/layout/item_reddit_gallery_submission_add_image.xml index ebb89953..2e118595 100644 --- a/app/src/main/res/layout/item_reddit_gallery_submission_add_image.xml +++ b/app/src/main/res/layout/item_reddit_gallery_submission_add_image.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="match_parent" - xmlns:app="http://schemas.android.com/apk/res-auto"> + android:layout_height="match_parent"> <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/fab_item_gallery_submission_add_image" diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 35c75d46..428d7c01 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,4 +1,4 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> +<resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.Material3.DayNight"> diff --git a/app/src/main/res/xml-sw600dp/post_details_preferences.xml b/app/src/main/res/xml-sw600dp/post_details_preferences.xml index 036673f3..ade811d4 100644 --- a/app/src/main/res/xml-sw600dp/post_details_preferences.xml +++ b/app/src/main/res/xml-sw600dp/post_details_preferences.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto"> +<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" diff --git a/app/src/main/res/xml/advanced_preferences.xml b/app/src/main/res/xml/advanced_preferences.xml index dc67fe4d..538a5f2e 100644 --- a/app/src/main/res/xml/advanced_preferences.xml +++ b/app/src/main/res/xml/advanced_preferences.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto"> +<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> <ml.docilealligator.infinityforreddit.customviews.CustomFontPreference app:key="delete_all_subreddits_data_in_database" diff --git a/app/src/main/res/xml/file_paths.xml b/app/src/main/res/xml/file_paths.xml index 25648473..38ece673 100644 --- a/app/src/main/res/xml/file_paths.xml +++ b/app/src/main/res/xml/file_paths.xml @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> -<paths xmlns:android="http://schemas.android.com/apk/res/android"> +<paths> <external-path name="external_app_storage" path="." /> </paths>
\ No newline at end of file diff --git a/app/src/main/res/xml/notification_preferences.xml b/app/src/main/res/xml/notification_preferences.xml index f9c292c4..27c1adaa 100644 --- a/app/src/main/res/xml/notification_preferences.xml +++ b/app/src/main/res/xml/notification_preferences.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto"> +<androidx.preference.PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" diff --git a/app/src/main/res/xml/post_details_preferences.xml b/app/src/main/res/xml/post_details_preferences.xml index 366b9a98..0cbf770f 100644 --- a/app/src/main/res/xml/post_details_preferences.xml +++ b/app/src/main/res/xml/post_details_preferences.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto"> +<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" diff --git a/app/src/main/res/xml/sort_type_preferences.xml b/app/src/main/res/xml/sort_type_preferences.xml index c985faf5..aa555f67 100644 --- a/app/src/main/res/xml/sort_type_preferences.xml +++ b/app/src/main/res/xml/sort_type_preferences.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto"> +<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="true" diff --git a/app/src/main/res/xml/time_format_preferences.xml b/app/src/main/res/xml/time_format_preferences.xml index b3ff0807..233a1cbf 100644 --- a/app/src/main/res/xml/time_format_preferences.xml +++ b/app/src/main/res/xml/time_format_preferences.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto"> +<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference app:defaultValue="false" app:key="show_elapsed_time" |