Correctly mirror the "Back" button on RTL locales.
Previously depended on the `autoMirror` attribute, but that is not supported when build-tools generates .pngs for us.
This commit is contained in:
parent
481b96ef17
commit
9be1936e03
7
app/src/main/res/drawable-ldrtl/ic_back_black_24dp.xml
Normal file
7
app/src/main/res/drawable-ldrtl/ic_back_black_24dp.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<!-- Would like to use the android:autoMirror property, but that is not suppoted on pre-lollipop
|
||||
unless using VectorDrawableCompat (instead of using build-tools to produce .pngs for us). -->
|
||||
<vector android:height="24dp"
|
||||
android:viewportHeight="24.0" android:viewportWidth="24.0"
|
||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="M 4,11 H 16.17 L 10.58,5.41 12,4 20,12 12,20 10.59,18.59 16.17,13 H 4 Z"/>
|
||||
</vector>
|
@ -1,4 +1,4 @@
|
||||
<vector android:autoMirrored="true" android:height="24dp"
|
||||
<vector android:height="24dp"
|
||||
android:viewportHeight="24.0" android:viewportWidth="24.0"
|
||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="M20,11H7.83l5.59,-5.59L12,4l-8,8 8,8 1.41,-1.41L7.83,13H20v-2z"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user