From e301c85b46f9346a6a8ccd60fdb80ae8aa6ebee7 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 18 Oct 2018 09:42:15 +0000 Subject: [PATCH] Layout improvement --- app/src/main/res/layout/fragment_messages.xml | 12 ++++++------ app/src/main/res/values/colors.xml | 2 ++ app/src/main/res/values/styles.xml | 3 +++ 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/fragment_messages.xml b/app/src/main/res/layout/fragment_messages.xml index 0157c60c1c..3abbe3579b 100644 --- a/app/src/main/res/layout/fragment_messages.xml +++ b/app/src/main/res/layout/fragment_messages.xml @@ -167,12 +167,12 @@ android:id="@+id/fabPrev" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="center_vertical|start" + android:layout_gravity="bottom|start" android:layout_margin="16dp" android:src="@drawable/baseline_skip_previous_24" android:tint="@color/colorActionForeground" - app:backgroundTint="?attr/colorAccent" - app:fabSize="mini" + app:backgroundTint="?attr/colorFabTransparent" + app:elevation="0dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" /> @@ -180,12 +180,12 @@ android:id="@+id/fabNext" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="center_vertical|end" + android:layout_gravity="bottom|end" android:layout_margin="16dp" android:src="@drawable/baseline_skip_next_24" android:tint="@color/colorActionForeground" - app:backgroundTint="?attr/colorAccent" - app:fabSize="mini" + app:backgroundTint="?attr/colorFabTransparent" + app:elevation="0dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" /> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index cbafc39c9a..26f6bc56bc 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -14,6 +14,7 @@ #99000000 #111 #eee + #8aaa #fff #555 @@ -22,6 +23,7 @@ #997f7f7f #fff #222 + #8666 #ff000000 diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 3de993a64e..c37db1b193 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -5,6 +5,7 @@ +