Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d75ae66 authored by Roy Chou's avatar Roy Chou
Browse files

fix(non linear font scaling): date textview might be covered by system icons in qs header

As b/291168601, when the sum of date textview width and system icons container width is larger than the qs header width, date textview would be covered by system icons. Therefore, in xml/qs_header we add the constraint between the date textview and the system icons to prevent the ui broken.

Bug: 291168601
Test: manually - attached screenshots in bug
      atest CombinedShadeHeaderConstraintsTest
Change-Id: Ifd13da3bd3e7893bc79b0114fce972b039261364
parent 3cae3974
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@
            android:layout_width="0dp"
            android:layout_height="@dimen/new_qs_header_non_clickable_element_height"
            app:layout_constraintWidth_default="wrap"
            app:layout_constraintStart_toEndOf="@id/date"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintTop_toTopOf="@id/date"
            app:layout_constraintBottom_toBottomOf="@id/date"