From a37edb591b20f8cd0a637bbf9c4cc96299a97980 Mon Sep 17 00:00:00 2001 From: Maxime NATUREL Date: Mon, 2 May 2022 17:10:27 +0200 Subject: [PATCH] Adding xml layout for inactive state --- ...line_event_live_location_inactive_stub.xml | 74 +++++++++++++++++++ ...imeline_event_live_location_start_stub.xml | 2 +- vector/src/main/res/values/strings.xml | 1 + 3 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 vector/src/main/res/layout/item_timeline_event_live_location_inactive_stub.xml diff --git a/vector/src/main/res/layout/item_timeline_event_live_location_inactive_stub.xml b/vector/src/main/res/layout/item_timeline_event_live_location_inactive_stub.xml new file mode 100644 index 0000000000..e26713b484 --- /dev/null +++ b/vector/src/main/res/layout/item_timeline_event_live_location_inactive_stub.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + diff --git a/vector/src/main/res/layout/item_timeline_event_live_location_start_stub.xml b/vector/src/main/res/layout/item_timeline_event_live_location_start_stub.xml index b81a6cc0e9..199d36cfde 100644 --- a/vector/src/main/res/layout/item_timeline_event_live_location_start_stub.xml +++ b/vector/src/main/res/layout/item_timeline_event_live_location_start_stub.xml @@ -20,7 +20,7 @@ android:layout_width="0dp" android:layout_height="48dp" android:alpha="0.85" - android:src="?colorSurface" + android:src="@color/element_background_light" app:layout_constraintBottom_toBottomOf="@id/locationLiveStartMap" app:layout_constraintEnd_toEndOf="@id/locationLiveStartMap" app:layout_constraintStart_toStartOf="@id/locationLiveStartMap" diff --git a/vector/src/main/res/values/strings.xml b/vector/src/main/res/values/strings.xml index 00b29e83b3..7adc751f8e 100644 --- a/vector/src/main/res/values/strings.xml +++ b/vector/src/main/res/values/strings.xml @@ -3018,6 +3018,7 @@ Failed to load map Live location enabled Loading live location… + Live location ended View live location Live until %1$s Stop