From 7cf90856d6120e20a1c39848e0e4e2cbb40f1a67 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 8 Dec 2020 23:46:44 +0800 Subject: Make the Bottom App Bar a standalone layout. --- .../infinityforreddit/activities/MainActivity.java | 12 ++++++------ .../activities/ViewSubredditDetailActivity.java | 12 ++++++------ .../infinityforreddit/activities/ViewUserDetailActivity.java | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) (limited to 'app/src/main/java/ml/docilealligator/infinityforreddit') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java index 9219de22..0fbf9f4f 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java @@ -152,17 +152,17 @@ public class MainActivity extends BaseActivity implements SortTypeSelectionCallb RecyclerView navDrawerRecyclerView; @BindView(R.id.tab_layout_main_activity) TabLayout tabLayout; - @BindView(R.id.bottom_app_bar_main_activity) + @BindView(R.id.bottom_app_bar_bottom_app_bar) BottomAppBar bottomAppBar; - @BindView(R.id.linear_layout_bottom_app_bar_main_activity) + @BindView(R.id.linear_layout_bottom_app_bar) LinearLayout linearLayoutBottomAppBar; - @BindView(R.id.option_1_bottom_app_bar_main_activity) + @BindView(R.id.option_1_bottom_app_bar) ImageView option1BottomAppBar; - @BindView(R.id.option_2_bottom_app_bar_main_activity) + @BindView(R.id.option_2_bottom_app_bar) ImageView option2BottomAppBar; - @BindView(R.id.option_3_bottom_app_bar_main_activity) + @BindView(R.id.option_3_bottom_app_bar) ImageView option3BottomAppBar; - @BindView(R.id.option_4_bottom_app_bar_main_activity) + @BindView(R.id.option_4_bottom_app_bar) ImageView option4BottomAppBar; @BindView(R.id.fab_main_activity) FloatingActionButton fab; diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java index de690c3d..de7b793d 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java @@ -150,17 +150,17 @@ public class ViewSubredditDetailActivity extends BaseActivity implements SortTyp TextView creationTimeTextView; @BindView(R.id.description_text_view_view_subreddit_detail_activity) TextView descriptionTextView; - @BindView(R.id.bottom_navigation_view_subreddit_detail_activity) + @BindView(R.id.bottom_app_bar_bottom_app_bar) BottomAppBar bottomNavigationView; - @BindView(R.id.linear_layout_bottom_app_bar_view_subreddit_detail_activity) + @BindView(R.id.linear_layout_bottom_app_bar) LinearLayout linearLayoutBottomAppBar; - @BindView(R.id.option_1_bottom_app_bar_view_subreddit_detail_activity) + @BindView(R.id.option_1_bottom_app_bar) ImageView option1BottomAppBar; - @BindView(R.id.option_2_bottom_app_bar_view_subreddit_detail_activity) + @BindView(R.id.option_2_bottom_app_bar) ImageView option2BottomAppBar; - @BindView(R.id.option_3_bottom_app_bar_view_subreddit_detail_activity) + @BindView(R.id.option_3_bottom_app_bar) ImageView option3BottomAppBar; - @BindView(R.id.option_4_bottom_app_bar_view_subreddit_detail_activity) + @BindView(R.id.option_4_bottom_app_bar) ImageView option4BottomAppBar; @BindView(R.id.fab_view_subreddit_detail_activity) FloatingActionButton fab; diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java index 47dd9cdf..d1c32368 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java @@ -152,17 +152,17 @@ public class ViewUserDetailActivity extends BaseActivity implements SortTypeSele TextView cakedayTextView; @BindView(R.id.description_text_view_view_user_detail_activity) TextView descriptionTextView; - @BindView(R.id.bottom_navigation_view_subreddit_detail_activity) + @BindView(R.id.bottom_app_bar_bottom_app_bar) BottomAppBar bottomNavigationView; - @BindView(R.id.linear_layout_bottom_app_bar_view_subreddit_detail_activity) + @BindView(R.id.linear_layout_bottom_app_bar) LinearLayout linearLayoutBottomAppBar; - @BindView(R.id.option_1_bottom_app_bar_view_subreddit_detail_activity) + @BindView(R.id.option_1_bottom_app_bar) ImageView option1BottomAppBar; - @BindView(R.id.option_2_bottom_app_bar_view_subreddit_detail_activity) + @BindView(R.id.option_2_bottom_app_bar) ImageView option2BottomAppBar; - @BindView(R.id.option_3_bottom_app_bar_view_subreddit_detail_activity) + @BindView(R.id.option_3_bottom_app_bar) ImageView option3BottomAppBar; - @BindView(R.id.option_4_bottom_app_bar_view_subreddit_detail_activity) + @BindView(R.id.option_4_bottom_app_bar) ImageView option4BottomAppBar; @BindView(R.id.fab_view_user_detail_activity) FloatingActionButton fab; -- cgit v1.2.3