From f6a0b4f33942ab908aa8fe9206253213eab1df36 Mon Sep 17 00:00:00 2001 From: Alex Paulescu <alex.paulescu@gmail.com> Date: Mon, 17 May 2021 13:00:47 +0300 Subject: [PATCH] Restricted text from passing one line. (#3168) Co-authored-by: Mohamed Metwalli <mohamed.metwalli@sap.com> --- .../res/layout/trace_location_attendee_checkins_item_active.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Corona-Warn-App/src/main/res/layout/trace_location_attendee_checkins_item_active.xml b/Corona-Warn-App/src/main/res/layout/trace_location_attendee_checkins_item_active.xml index 67a3a719f..257c5d5d3 100644 --- a/Corona-Warn-App/src/main/res/layout/trace_location_attendee_checkins_item_active.xml +++ b/Corona-Warn-App/src/main/res/layout/trace_location_attendee_checkins_item_active.xml @@ -42,6 +42,8 @@ style="@style/headline5Bold" android:layout_width="wrap_content" android:layout_height="wrap_content" + app:autoSizeTextType="uniform" + android:maxLines="1" android:textColor="@color/colorTextPrimary1InvertedStable" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" -- GitLab