From a19528d06b415d6c89047c965870fcca21aadcdc Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Tue, 11 Jan 2022 01:24:31 -0600 Subject: MapFragment properly draws reports and renamed icons --- androidApp/src/main/res/layout/unit_details_reports.xml | 4 ++-- androidApp/src/main/res/layout/unit_item.xml | 12 ++++++------ androidApp/src/main/res/layout/unit_map_fragment.xml | 12 ++++++------ androidApp/src/main/res/layout/units_activity.xml | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) (limited to 'androidApp/src/main/res/layout') diff --git a/androidApp/src/main/res/layout/unit_details_reports.xml b/androidApp/src/main/res/layout/unit_details_reports.xml index 1eaf68c..dc649e4 100644 --- a/androidApp/src/main/res/layout/unit_details_reports.xml +++ b/androidApp/src/main/res/layout/unit_details_reports.xml @@ -10,7 +10,7 @@ android:name="mx.trackermap.TrackerMap.android.map.MapFragment" android:layout_width="0dp" android:layout_height="0dp" - android:layout_margin="@dimen/margin" + android:layout_marginBottom="@dimen/margin" app:layout_constraintBottom_toTopOf="@id/periodSection" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -21,7 +21,7 @@ android:id="@+id/eventsScroll" android:layout_width="0dp" android:layout_height="0dp" - android:layout_margin="@dimen/margin" + android:layout_marginBottom="@dimen/margin" android:visibility="gone" app:layout_constraintBottom_toTopOf="@id/periodSection" app:layout_constraintEnd_toEndOf="parent" diff --git a/androidApp/src/main/res/layout/unit_item.xml b/androidApp/src/main/res/layout/unit_item.xml index c44ec56..7c0241e 100644 --- a/androidApp/src/main/res/layout/unit_item.xml +++ b/androidApp/src/main/res/layout/unit_item.xml @@ -82,7 +82,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="5dp" - android:src="@drawable/ic_baseline_fiber_manual_record_24" + android:src="@drawable/device_status" app:tint="?android:textColorPrimary" tools:ignore="ContentDescription" /> @@ -93,7 +93,7 @@ android:layout_toEndOf="@id/statusIcon" android:visibility="gone" android:layout_marginEnd="5dp" - android:src="@drawable/ic_baseline_lock_24" + android:src="@drawable/device_unlocked" tools:ignore="ContentDescription" /> diff --git a/androidApp/src/main/res/layout/unit_map_fragment.xml b/androidApp/src/main/res/layout/unit_map_fragment.xml index f476c66..abe31d8 100644 --- a/androidApp/src/main/res/layout/unit_map_fragment.xml +++ b/androidApp/src/main/res/layout/unit_map_fragment.xml @@ -40,7 +40,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="5dp" - android:src="@drawable/ic_baseline_fiber_manual_record_24" + android:src="@drawable/device_status" app:tint="?android:textColorPrimary" tools:ignore="ContentDescription" /> @@ -51,7 +51,7 @@ android:layout_toEndOf="@id/statusIcon" android:visibility="gone" android:layout_marginEnd="5dp" - android:src="@drawable/ic_baseline_lock_24" + android:src="@drawable/device_unlocked" tools:ignore="ContentDescription" /> diff --git a/androidApp/src/main/res/layout/units_activity.xml b/androidApp/src/main/res/layout/units_activity.xml index bff3789..f0fd2ee 100644 --- a/androidApp/src/main/res/layout/units_activity.xml +++ b/androidApp/src/main/res/layout/units_activity.xml @@ -28,7 +28,7 @@ android:layout_marginStart="@dimen/fab_margin" android:layout_marginTop="@dimen/fab_margin" app:elevation="@dimen/fab_elevation" - android:src="@drawable/ic_baseline_menu_24" + android:src="@drawable/icon_menu" android:contentDescription="@string/open_drawer"/>