From df51284af0694d679a7b3f3ae9b626f32aa0ace5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Fri, 15 Mar 2024 22:45:17 +0800 Subject: [PATCH] Fix material cards --- .../main/res/layout/fragment_dashboard_overview.xml | 10 ++++++++++ app/src/main/res/layout/view_dashboard_group.xml | 2 ++ 2 files changed, 12 insertions(+) diff --git a/app/src/main/res/layout/fragment_dashboard_overview.xml b/app/src/main/res/layout/fragment_dashboard_overview.xml index cf62726..0f94137 100644 --- a/app/src/main/res/layout/fragment_dashboard_overview.xml +++ b/app/src/main/res/layout/fragment_dashboard_overview.xml @@ -17,11 +17,15 @@ android:id="@+id/container" android:layout_width="match_parent" android:layout_height="match_parent" + android:clipChildren="false" + android:clipToPadding="false" android:padding="16dp"> @@ -222,6 +230,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="16dp" + android:clipChildren="false" + android:clipToPadding="false" android:orientation="horizontal" android:visibility="gone" tools:visibility="visible"> diff --git a/app/src/main/res/layout/view_dashboard_group.xml b/app/src/main/res/layout/view_dashboard_group.xml index 4bc37a5..6e03459 100644 --- a/app/src/main/res/layout/view_dashboard_group.xml +++ b/app/src/main/res/layout/view_dashboard_group.xml @@ -3,6 +3,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" + android:clipChildren="false" + android:clipToPadding="false" android:layout_height="wrap_content" android:orientation="vertical" android:padding="16dp">