From 5c8317874773057b430bfbd687c2fda2f93914d9 Mon Sep 17 00:00:00 2001 From: iKirby <6316115+iKirby@users.noreply.github.com> Date: Tue, 15 Aug 2023 20:00:24 +0800 Subject: [PATCH] Fix traffic card shadow --- .../layout/fragment_dashboard_overview.xml | 272 ++++++++---------- 1 file changed, 127 insertions(+), 145 deletions(-) diff --git a/app/src/main/res/layout/fragment_dashboard_overview.xml b/app/src/main/res/layout/fragment_dashboard_overview.xml index 3173f0e..610c92a 100644 --- a/app/src/main/res/layout/fragment_dashboard_overview.xml +++ b/app/src/main/res/layout/fragment_dashboard_overview.xml @@ -90,9 +90,8 @@ - - + - - @@ -183,9 +180,8 @@ - - + - - @@ -230,199 +224,187 @@ android:id="@+id/trafficContainer" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical" + android:layout_marginTop="16dp" + android:clipChildren="false" + android:orientation="horizontal" android:visibility="gone" tools:visibility="visible"> - + android:layout_weight="1"> - + android:orientation="vertical" + android:padding="16dp"> + + + + + android:layout_marginTop="8dp" + android:orientation="horizontal"> - - + android:text="@string/status_uplink" /> - - - - - - - - - - - - - - - - - - - - - - - + android:text="@string/loading" + android:textColor="?android:colorForeground" /> - - - - - - + android:orientation="horizontal"> - - + android:text="@string/status_downlink" /> - - - - - - - - - - - - - - - - - - - - - - - + android:text="@string/loading" + android:textColor="?android:colorForeground" /> - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +