From eb0172b2bb2dc2bd250bd7b4118a6a8e1fa7fe78 Mon Sep 17 00:00:00 2001 From: s-ayush2903 Date: Mon, 10 Aug 2020 11:39:33 +0530 Subject: [PATCH 01/11] #2263 reOriented the back to top fab --- core/src/main/res/layout/main_fragment_content.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/res/layout/main_fragment_content.xml b/core/src/main/res/layout/main_fragment_content.xml index 6f12daf8a..8cf00b43d 100644 --- a/core/src/main/res/layout/main_fragment_content.xml +++ b/core/src/main/res/layout/main_fragment_content.xml @@ -82,7 +82,7 @@ android:id="@+id/activity_main_back_to_top_fab" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_margin="@dimen/activity_horizontal_margin" + android:layout_marginEnd="@dimen/activity_horizontal_margin" android:layout_marginBottom="?attr/actionBarSize" android:visibility="gone" app:fabSize="mini" From aa99ce6549acd647901acbc96b0cc27f6883137b Mon Sep 17 00:00:00 2001 From: s-ayush2903 Date: Thu, 13 Aug 2020 12:05:42 +0530 Subject: [PATCH 02/11] set InsetEdges attribute on nottom toolbar --- core/src/main/res/layout/bottom_toolbar.xml | 1 + core/src/main/res/layout/main_fragment_content.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/core/src/main/res/layout/bottom_toolbar.xml b/core/src/main/res/layout/bottom_toolbar.xml index 76f7f7cec..83ecace0f 100644 --- a/core/src/main/res/layout/bottom_toolbar.xml +++ b/core/src/main/res/layout/bottom_toolbar.xml @@ -8,6 +8,7 @@ android:layout_gravity="bottom" android:padding="8dp" app:hideOnScroll="true" + app:layout_insetEdge="bottom" tools:ignore="BottomAppBar"> Date: Fri, 21 Aug 2020 16:56:20 +0530 Subject: [PATCH 03/11] Moved fab with notch at right --- core/src/main/res/layout/bottom_toolbar.xml | 2 +- .../main/res/layout/main_fragment_content.xml | 37 ++++++++++++------- 2 files changed, 24 insertions(+), 15 deletions(-) diff --git a/core/src/main/res/layout/bottom_toolbar.xml b/core/src/main/res/layout/bottom_toolbar.xml index 83ecace0f..50ac2cc11 100644 --- a/core/src/main/res/layout/bottom_toolbar.xml +++ b/core/src/main/res/layout/bottom_toolbar.xml @@ -5,10 +5,10 @@ android:id="@+id/bottom_toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" + app:fabAlignmentMode="end" android:layout_gravity="bottom" android:padding="8dp" app:hideOnScroll="true" - app:layout_insetEdge="bottom" tools:ignore="BottomAppBar"> - + - + + + + + + + + + + + + +