mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
941812c600
Добавляем параметр tint_mode: ['mutiply', 'darken', 'add', 'screen', ... ] который будет работать с уже существующим tint_color Справка: https://developer.android.com/reference/android/widget/ImageView#attr_android:tintMode Пример разметки: https://divview.yandex-team.ru/?uuid=aa86e420-dce7-4ecd-b086-277b19126412&web_version= Скриншот: (появилась серая рамка у фотографии товара) https://jing.yandex-team.ru/files/i-gorelov/uhura_2022-10-07T22%3A29%3A04.017024.jpg
15 lines
224 B
JSON
15 lines
224 B
JSON
{
|
|
"type": "string",
|
|
"enum": [
|
|
"source_in",
|
|
"source_atop",
|
|
"darken",
|
|
"lighten",
|
|
"multiply",
|
|
"screen"
|
|
],
|
|
"$description": "translations.json#/div_blend_mode",
|
|
"platforms": [
|
|
"android"
|
|
]
|
|
} |