From 3e4068442f1e78e76770b18427ed266a392fb896 Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Tue, 19 Sep 2023 23:03:33 -0400 Subject: Change TextInputLayout style. Disable swipe right to go back in CustomizePostFilterActivity. --- .../activities/CustomizePostFilterActivity.java | 5 ---- .../res/layout/activity_customize_post_filter.xml | 34 +++++++++++----------- app/src/main/res/layout/activity_post_poll.xml | 12 ++++---- .../main/res/layout/activity_view_post_detail.xml | 2 +- .../dialog_edit_post_filter_name_of_usage.xml | 2 +- .../res/layout/dialog_go_to_thing_edit_text.xml | 2 +- app/src/main/res/layout/dialog_insert_link.xml | 4 +-- ...t_gallery_item_caption_and_url_bottom_sheet.xml | 4 +-- 8 files changed, 30 insertions(+), 35 deletions(-) (limited to 'app/src/main') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizePostFilterActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizePostFilterActivity.java index 45097020..16f8b2d8 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizePostFilterActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizePostFilterActivity.java @@ -46,7 +46,6 @@ import ml.docilealligator.infinityforreddit.Infinity; import ml.docilealligator.infinityforreddit.R; import ml.docilealligator.infinityforreddit.RedditDataRoomDatabase; import ml.docilealligator.infinityforreddit.customtheme.CustomThemeWrapper; -import ml.docilealligator.infinityforreddit.customviews.slidr.Slidr; import ml.docilealligator.infinityforreddit.postfilter.PostFilter; import ml.docilealligator.infinityforreddit.postfilter.SavePostFilter; import ml.docilealligator.infinityforreddit.utils.SharedPreferencesUtils; @@ -226,10 +225,6 @@ public class CustomizePostFilterActivity extends BaseActivity { applyCustomTheme(); - if (mSharedPreferences.getBoolean(SharedPreferencesUtils.SWIPE_RIGHT_TO_GO_BACK, true)) { - Slidr.attach(this); - } - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && isChangeStatusBarIconColor()) { addOnOffsetChangedListener(appBarLayout); } diff --git a/app/src/main/res/layout/activity_customize_post_filter.xml b/app/src/main/res/layout/activity_customize_post_filter.xml index e406cf39..427e24e5 100644 --- a/app/src/main/res/layout/activity_customize_post_filter.xml +++ b/app/src/main/res/layout/activity_customize_post_filter.xml @@ -51,7 +51,7 @@ android:paddingBottom="8dp" android:paddingStart="16dp" android:paddingEnd="16dp" - style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + style="@style/Widget.Material3.TextInputLayout.OutlinedBox">