Я пытаюсь применить оттенок к растровому изображению внутри < layer-list >
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
<solid android:color="@color/grey" />
<size android:width="45dp" android:height="45dp"/>
</shape>
</item>
<item android:left="5dp" android:right="5dp" android:top="5dp" android:bottom="5dp">
<bitmap android:src="@drawable/ic_action" android:tint="#FF000000" />
</item>
</layer-list>
Предварительный просмотр показывает, что он должен работать, FROM ANDROID-STUDIO:
Но при развертывании на устройстве оно не окрашивается:
Он корректно оттеняет, если я использую ImageView в своем макете, но не с помощью списка слоев. Я считаю, что я пробовал каждый tintMode без каких-либо результатов.