Bladeren bron

调整车间岗位页地图样式

Frankensteinly 10 maanden geleden
bovenliggende
commit
99ac4f834f
1 gewijzigde bestanden met toevoegingen van 11 en 3 verwijderingen
  1. 11 3
      app/src/main/res/layout/fragment_workshop.xml

+ 11 - 3
app/src/main/res/layout/fragment_workshop.xml

@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
@@ -12,10 +13,17 @@
         android:layout_alignParentBottom="true"
         android:orientation="horizontal" />
 
-    <com.onlylemi.mapview.library.MapView
-        android:id="@+id/mapview"
+    <com.google.android.material.card.MaterialCardView
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         android:layout_above="@id/rv_statistics"
-        android:layout_marginVertical="5dp" />
+        android:layout_marginVertical="10dp"
+        app:strokeWidth="0dp">
+
+        <com.onlylemi.mapview.library.MapView
+            android:id="@+id/mapview"
+            android:layout_width="match_parent"
+            android:layout_height="match_parent"
+            android:layout_above="@id/rv_statistics" />
+    </com.google.android.material.card.MaterialCardView>
 </RelativeLayout>