У меня есть XML, как это для Android shortcut особенности:Могу ли я указывать значок в функции ярлыка Android?
<shortcuts
xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android">
<shortcut
android:shortcutId="some_id"
android:enabled="true"
android:icon="@drawable/ic_icon"
android:shortcutShortLabel="@string/short_label"
android:shortcutLongLabel="@string/long_label"
tools:targetApi="n_mr1">
<intent
android:action="android.intent.action.MAIN"
android:targetPackage="my.package"
android:targetClass="my.package.MainActivity" />
</shortcut>
</shortcuts>
В настоящее время мой значок является вектор вытяжкой и имеет белый оттенок.
Могу ли я каким-то образом использовать другой оттенок здесь в определении файла? Так что-то вроде:
<shortcut
...
android:icon="@drawable/ic_icon"
android:iconTint="#0000ff"
...>
</shortcut>