Force LTR layout in this view because the "playback" button should not be mirrored in RTL.

In this specific case, the drawable (triangle_right) used in this view
is _not_ autoMirrored which is correct. But the `layout_marginStart`
attribute adds the margin to the wrong side of the view that breaks the
appearance.

c.f. https://material.io/design/usability/bidirectionality.html#mirroring-elements
fork-5.53.8
Fumiaki Yoshimatsu 2021-06-25 16:40:38 -04:00 zatwierdzone przez Alex Hart
rodzic 615fbf87c9
commit c06056d847
5 zmienionych plików z 1 dodań i 0 usunięć

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 168 B

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 162 B

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 190 B

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 196 B

Wyświetl plik

@ -34,6 +34,7 @@
android:layout_marginStart="2dp"
android:tint="@color/core_ultramarine"
android:scaleType="fitXY"
android:layoutDirection="ltr"
app:srcCompat="@drawable/triangle_right" />
</FrameLayout>