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
This commit is contained in:
parent
615fbf87c9
commit
c06056d847
5 changed files with 1 additions and 0 deletions
BIN
app/src/main/res/drawable-ldrtl-hdpi/ic_arrow_right.webp
Normal file
BIN
app/src/main/res/drawable-ldrtl-hdpi/ic_arrow_right.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 168 B |
BIN
app/src/main/res/drawable-ldrtl-xhdpi/ic_arrow_right.webp
Normal file
BIN
app/src/main/res/drawable-ldrtl-xhdpi/ic_arrow_right.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 162 B |
BIN
app/src/main/res/drawable-ldrtl-xxhdpi/ic_arrow_right.webp
Normal file
BIN
app/src/main/res/drawable-ldrtl-xxhdpi/ic_arrow_right.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 190 B |
BIN
app/src/main/res/drawable-ldrtl-xxxhdpi/ic_arrow_right.webp
Normal file
BIN
app/src/main/res/drawable-ldrtl-xxxhdpi/ic_arrow_right.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 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>
|
||||
|
|
Loading…
Add table
Reference in a new issue