From 40ac73e2c9c479a26f2fc4b8bbd854cbfee2ce18 Mon Sep 17 00:00:00 2001 From: h4h13 Date: Sun, 23 Jun 2019 19:57:12 +0530 Subject: [PATCH] Added stroke for toolbar --- app/src/main/res/layout-land/fragment_home.xml | 6 ++++-- app/src/main/res/layout-xlarge-land/fragment_home.xml | 6 ++++-- app/src/main/res/layout-xlarge/fragment_home.xml | 8 +++++--- app/src/main/res/layout/fragment_home.xml | 4 +++- app/src/main/res/layout/fragment_library.xml | 3 ++- 5 files changed, 18 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/layout-land/fragment_home.xml b/app/src/main/res/layout-land/fragment_home.xml index 00a8d4f7e..a61c01f36 100644 --- a/app/src/main/res/layout-land/fragment_home.xml +++ b/app/src/main/res/layout-land/fragment_home.xml @@ -31,9 +31,11 @@ android:layout_width="match_parent" android:layout_height="wrap_content" app:cardCornerRadius="8dp" - app:cardElevation="6dp" + app:cardElevation="0dp" app:cardUseCompatPadding="true" - app:layout_scrollFlags="scroll|enterAlways"> + app:layout_scrollFlags="scroll|enterAlways" + app:strokeColor="?dividerColor" + app:strokeWidth="1dp"> + app:layout_scrollFlags="scroll|enterAlways" + app:strokeColor="?dividerColor" + app:strokeWidth="1dp"> + app:layout_scrollFlags="scroll|enterAlways" + app:strokeColor="?dividerColor" + app:strokeWidth="1dp"> diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index 616bd6eb5..bbbff972d 100755 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -29,7 +29,9 @@ android:layout_width="match_parent" android:layout_height="wrap_content" app:cardCornerRadius="8dp" - app:cardElevation="6dp" + app:cardElevation="0dp" + app:strokeColor="?dividerColor" + app:strokeWidth="1dp" app:cardUseCompatPadding="true" app:layout_scrollFlags="scroll|enterAlways"> diff --git a/app/src/main/res/layout/fragment_library.xml b/app/src/main/res/layout/fragment_library.xml index fe5f533e2..fb15f78c7 100644 --- a/app/src/main/res/layout/fragment_library.xml +++ b/app/src/main/res/layout/fragment_library.xml @@ -34,7 +34,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" app:cardCornerRadius="8dp" - app:strokeColor="@color/black_color" + app:cardElevation="0dp" + app:strokeColor="?dividerColor" app:cardUseCompatPadding="true" app:layout_scrollFlags="scroll|enterAlways" app:strokeWidth="1dp">