From daa6b06617f3cc2fe189b68a427e91d830462a52 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 27 Mar 2020 23:34:11 +0800 Subject: Add a SidebarFragment in ViewSubredditDetailActivity. Fix some UI issues. --- app/src/main/res/drawable/ic_add_toolbar_24dp.xml | 9 -------- .../res/layout/activity_view_subreddit_detail.xml | 21 ++++++++++++++++++- app/src/main/res/layout/fragment_sidebar.xml | 24 ++++++++++++++++++++++ .../main/res/menu/create_multi_reddit_activity.xml | 2 +- 4 files changed, 45 insertions(+), 11 deletions(-) delete mode 100644 app/src/main/res/drawable/ic_add_toolbar_24dp.xml create mode 100644 app/src/main/res/layout/fragment_sidebar.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/ic_add_toolbar_24dp.xml b/app/src/main/res/drawable/ic_add_toolbar_24dp.xml deleted file mode 100644 index 133eda34..00000000 --- a/app/src/main/res/drawable/ic_add_toolbar_24dp.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - 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 3337fc67..c76ada01 100644 --- a/app/src/main/res/layout/activity_view_subreddit_detail.xml +++ b/app/src/main/res/layout/activity_view_subreddit_detail.xml @@ -8,6 +8,12 @@ android:background="?attr/backgroundColor" tools:application=".Activity.ViewSubredditDetailActivity"> + + + + - + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/menu/create_multi_reddit_activity.xml b/app/src/main/res/menu/create_multi_reddit_activity.xml index 44b154d9..93c89cab 100644 --- a/app/src/main/res/menu/create_multi_reddit_activity.xml +++ b/app/src/main/res/menu/create_multi_reddit_activity.xml @@ -5,6 +5,6 @@ android:id="@+id/action_create_create_multi_reddit_activity" android:orderInCategory="1" android:title="@string/action_send" - android:icon="@drawable/ic_add_toolbar_24dp" + android:icon="@drawable/ic_add_24dp" app:showAsAction="ifRoom" /> \ No newline at end of file -- cgit v1.2.3