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

Commit 4a1c122d authored by Joel Galenson's avatar Joel Galenson
Browse files

Fix RTL layout.

It turns out that when using include in a ConstraintLayout, you need
to give the include a width and height, so I outlined the width and
height of the icon.

Fixes: 128328664
Test: View when forcing layout to be RTL.
Change-Id: Idc51ea6ee02f57802e8a13fd60bf8e0254f768d5
parent 49ea16c4
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -33,6 +33,8 @@

    <include layout="@layout/image_frame"
        android:id="@+id/image_frame_include"
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:gravity="center"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
@@ -83,7 +85,7 @@
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:gravity="end|center_vertical"
        android:paddingLeft="16dp"
        android:paddingStart="16dp"
        android:orientation="vertical"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="@+id/image_frame_include"