From 12bfece89e54963ae67d609c71be455f22fea438 Mon Sep 17 00:00:00 2001 From: Onuray Sahin Date: Mon, 24 Jan 2022 17:36:26 +0300 Subject: [PATCH] Prevent anr in timeline. --- vector/src/main/res/layout/fragment_location_preview.xml | 4 +++- vector/src/main/res/layout/fragment_location_sharing.xml | 3 ++- .../src/main/res/layout/item_bottom_sheet_message_preview.xml | 1 + .../src/main/res/layout/item_timeline_event_location_stub.xml | 3 ++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/vector/src/main/res/layout/fragment_location_preview.xml b/vector/src/main/res/layout/fragment_location_preview.xml index ae3e8f1778..c2b3bdd739 100644 --- a/vector/src/main/res/layout/fragment_location_preview.xml +++ b/vector/src/main/res/layout/fragment_location_preview.xml @@ -1,11 +1,13 @@ + android:layout_height="match_parent" + app:mapbox_renderTextureMode="true" /> \ No newline at end of file diff --git a/vector/src/main/res/layout/fragment_location_sharing.xml b/vector/src/main/res/layout/fragment_location_sharing.xml index 8122b5def5..b9f00786de 100644 --- a/vector/src/main/res/layout/fragment_location_sharing.xml +++ b/vector/src/main/res/layout/fragment_location_sharing.xml @@ -7,7 +7,8 @@ + android:layout_height="match_parent" + app:mapbox_renderTextureMode="true" /> diff --git a/vector/src/main/res/layout/item_timeline_event_location_stub.xml b/vector/src/main/res/layout/item_timeline_event_location_stub.xml index d989ad72af..ea49930763 100644 --- a/vector/src/main/res/layout/item_timeline_event_location_stub.xml +++ b/vector/src/main/res/layout/item_timeline_event_location_stub.xml @@ -18,7 +18,8 @@ app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:mapbox_renderTextureMode="true" />