From fc2156374611421c242ff7d65315f52fe57ceecf Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Mon, 31 May 2021 15:15:39 +0200 Subject: Adding the base of bottom navigation. Also changing the the prev and next button for top manga --- app/src/main/res/drawable/ic_home_black_24dp.xml | 9 +++++++ app/src/main/res/layout/activity_main.xml | 32 ++++++++++++++++++++--- app/src/main/res/layout/content_main.xml | 2 +- app/src/main/res/layout/top_manga_page.xml | 16 ++++-------- app/src/main/res/menu/bottom_nav_menu.xml | 19 ++++++++++++++ app/src/main/res/navigation/mobile_navigation.xml | 25 ++++++++++++++++++ app/src/main/res/values/strings.xml | 8 ++++-- 7 files changed, 94 insertions(+), 17 deletions(-) create mode 100644 app/src/main/res/drawable/ic_home_black_24dp.xml create mode 100644 app/src/main/res/menu/bottom_nav_menu.xml create mode 100644 app/src/main/res/navigation/mobile_navigation.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/ic_home_black_24dp.xml b/app/src/main/res/drawable/ic_home_black_24dp.xml new file mode 100644 index 0000000..f8bb0b5 --- /dev/null +++ b/app/src/main/res/drawable/ic_home_black_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index dc71220..9c34ba0 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,5 +1,5 @@ - - + + + + + - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/layout/content_main.xml b/app/src/main/res/layout/content_main.xml index c4e7db6..f4c4e46 100644 --- a/app/src/main/res/layout/content_main.xml +++ b/app/src/main/res/layout/content_main.xml @@ -5,7 +5,7 @@ android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior"> - @@ -30,16 +31,8 @@ android:layout_height="wrap_content" android:text="@string/prev" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toStartOf="@id/button_home" /> - -