From 2b215059cc1d11ca3096faeb93c4b6bb5fd37e58 Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Fri, 25 Nov 2022 13:05:17 -0500 Subject: [PATCH] CardView --- app/src/main/res/layout/activity_detail.xml | 31 +++++++++++---------- app/src/main/res/values/colors.xml | 1 + app/src/main/res/values/styles.xml | 2 +- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/app/src/main/res/layout/activity_detail.xml b/app/src/main/res/layout/activity_detail.xml index 8af1dfa..deee588 100644 --- a/app/src/main/res/layout/activity_detail.xml +++ b/app/src/main/res/layout/activity_detail.xml @@ -79,7 +79,7 @@ - + android:outlineAmbientShadowColor="@color/gray_600" + android:outlineSpotShadowColor="@color/gray_600" + app:cardCornerRadius="5dp" + app:cardElevation="1dp" + app:cardMaxElevation="1dp" + app:cardPreventCornerOverlap="true" + app:cardUseCompatPadding="true"> - + #121212 #1b2023 #282F33 + #aaaaaa #dddddd #eeeeee #ffffffff diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 570acc8..d4539ba 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -40,6 +40,6 @@