kopia lustrzana https://github.com/ryukoposting/Signal-Android
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-elementsfork-5.53.8
rodzic
615fbf87c9
commit
c06056d847
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 |
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue