From b0bf06e0c09763726c3225f7f08076cda552aaa5 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Mon, 18 Jan 2021 23:42:16 +0800 Subject: Minor UI tweaks in settings. --- .../infinityforreddit/settings/CustomizeBottomAppBarFragment.java | 3 --- app/src/main/res/layout/fragment_customize_bottom_app_bar.xml | 1 - app/src/main/res/layout/fragment_customize_main_page_tabs.xml | 5 +++++ 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/settings/CustomizeBottomAppBarFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/settings/CustomizeBottomAppBarFragment.java index a025cccc..74a4a741 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/settings/CustomizeBottomAppBarFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/settings/CustomizeBottomAppBarFragment.java @@ -31,8 +31,6 @@ public class CustomizeBottomAppBarFragment extends Fragment { @BindView(R.id.info_text_view_customize_bottom_app_bar_fragment) TextView infoTextView; - @BindView(R.id.divider_1_customize_bottom_app_bar_fragment) - View divider1; @BindView(R.id.main_activity_group_summary_customize_bottom_app_bar_fragment) TextView mainActivityGroupSummaryTextView; @BindView(R.id.main_activity_option_count_linear_layout_customize_bottom_app_bar_fragment) @@ -123,7 +121,6 @@ public class CustomizeBottomAppBarFragment extends Fragment { if (accountName == null) { infoTextView.setText(R.string.only_for_logged_in_user); - divider1.setVisibility(View.GONE); mainActivityGroupSummaryTextView.setVisibility(View.GONE); mainActivityOptionCountLinearLayout.setVisibility(View.GONE); mainActivityOption1LinearLayout.setVisibility(View.GONE); 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 ccf5217d..3473e057 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 @@ -25,7 +25,6 @@ app:drawableStartCompat="@drawable/ic_info_preference_24dp" /> diff --git a/app/src/main/res/layout/fragment_customize_main_page_tabs.xml b/app/src/main/res/layout/fragment_customize_main_page_tabs.xml index 14585b4a..85297183 100644 --- a/app/src/main/res/layout/fragment_customize_main_page_tabs.xml +++ b/app/src/main/res/layout/fragment_customize_main_page_tabs.xml @@ -24,6 +24,11 @@ android:fontFamily="?attr/font_family" app:drawableStartCompat="@drawable/ic_info_preference_24dp" /> + +