From 22ec85b3dd2e345b292ab97d9f6de5087f33539d Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 11 Jun 2019 11:21:56 +0800 Subject: Lazy mode in ViewUserDetailActivity. Fixed follow chip background color in dark mode in ViewUserDetailActivity. Fixed force stop after orientation change in ViewUserDetailActivity. --- .../main/res/layout/activity_view_subreddit_detail.xml | 2 +- app/src/main/res/layout/activity_view_user_detail.xml | 4 +++- app/src/main/res/layout/app_bar_main.xml | 2 +- app/src/main/res/menu/menu_view_user_detail.xml | 10 ---------- .../main/res/menu/view_subreddit_detail_activity.xml | 6 ++++++ app/src/main/res/menu/view_user_detail_activity.xml | 17 +++++++++++++++++ 6 files changed, 28 insertions(+), 13 deletions(-) delete mode 100644 app/src/main/res/menu/menu_view_user_detail.xml create mode 100644 app/src/main/res/menu/view_user_detail_activity.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/activity_view_subreddit_detail.xml b/app/src/main/res/layout/activity_view_subreddit_detail.xml index ac76d15b..24bff22c 100644 --- a/app/src/main/res/layout/activity_view_subreddit_detail.xml +++ b/app/src/main/res/layout/activity_view_subreddit_detail.xml @@ -24,7 +24,7 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - - - - diff --git a/app/src/main/res/menu/view_subreddit_detail_activity.xml b/app/src/main/res/menu/view_subreddit_detail_activity.xml index d9b85107..ede3e6b9 100644 --- a/app/src/main/res/menu/view_subreddit_detail_activity.xml +++ b/app/src/main/res/menu/view_subreddit_detail_activity.xml @@ -9,4 +9,10 @@ android:title="@string/action_refresh" android:icon="@drawable/ic_refresh_white_24dp" app:showAsAction="never" /> + + \ No newline at end of file diff --git a/app/src/main/res/menu/view_user_detail_activity.xml b/app/src/main/res/menu/view_user_detail_activity.xml new file mode 100644 index 00000000..6f550333 --- /dev/null +++ b/app/src/main/res/menu/view_user_detail_activity.xml @@ -0,0 +1,17 @@ + + + + + -- cgit v1.2.3