Commit Graph

88 Commits

Author SHA1 Message Date
valeriahil 00cbbca286 remove exta actions bind
remove exta actions bind
2022-11-29 09:33:44 +03:00
grechka62 f002284fdb Fix linear layout params 2022-11-28 18:14:17 +03:00
edubinskaya a913ed928d background for ranges of text
background for ranges of text
2022-11-28 15:11:40 +03:00
arsenosov 83b367dead Added border support to div-customs
Added border support to div-customs
2022-11-28 13:08:24 +03:00
nikita-kladov 404519fd39 fix state patches 2022-11-25 14:47:05 +03:00
valeriahil 0f5829875b add accessibility hint and mode subscriptions
add accessibility hint and mode subscriptions
2022-11-24 14:34:42 +03:00
gulevsky d5ae021ad7 distinguish public api of 'div' module
remove 'div-core-views' module

distinguish public api of 'div' module
2022-11-24 08:49:28 +03:00
nikita-kladov 2d3e06c87e fix patch applying
Добавил переиспользование вью в 2 этапа:
- в первый раз берутся те вью, что имеют одинаковую диву
- затем берутся из оставшихся с тем же типом, либо создаются заново

Таким образом если див не поменялся, то он получит ту же самую вью. Если поменялся, но не менялся порядок и количество детей, то он тоже получит предыдущую вью и мы избежим лишних биндов/подгрузок картинок. Если ничего нет, то создаем новую
2022-11-21 15:08:33 +03:00
ggys 538366b132 remove comment
remove comment
2022-11-18 17:21:05 +03:00
grechka62 26dd20705a Implement baseline alignment in wrap container 2022-11-18 12:09:09 +03:00
alexredko dbd830fa2d added indicator items stretching mode 2022-11-16 11:40:47 +03:00
grechka62 3d330dfb67 Remove blur when radius is 0 in android
Remove blur when radius is 0 in android
2022-11-15 18:04:21 +03:00
arsenosov 3b62c72c6e Baseline content alignment in LinearLayout
Added baseline alignment in LinearLayout
2022-11-15 13:27:21 +03:00
i-ts 2e7bda0fc2 improve "safety" of safeConvert call 2022-11-15 12:22:06 +03:00
smirnov-maxim ea0d1a1529 Warm up BuiltinFuctionProvider 2022-11-14 16:05:06 +03:00
grechka62 33ec59bf7f Fix DivFocusBinderTest 2022-11-11 12:18:37 +03:00
grechka62 e3373ad452 Center separators in linear container 2022-11-11 00:13:59 +03:00
arsenosov 8ce124b0a8 Changed onDraw in IndicatorsStripDrawer
Changed onDraw
2022-11-10 12:10:44 +03:00
grechka62 abf3e7becc Align elements in wrap container rows by default 2022-11-07 23:39:32 +03:00
grechka62 1a31598b1e Generate method to apply patch in android 2022-11-03 13:12:59 +03:00
grechka62 6e85f3ad06 Fix edge separator in wrap container with match parent element 2022-11-03 11:59:18 +03:00
nikonovmi 98e44f9ab9 added DivViewWrapper tests
Тут, конечно, нужны скриншот/ui тесты, но я уже не успеваю их написать..
2022-11-02 19:04:09 +03:00
nikonovmi 6d46c70ce0 fix shadows in div gallery
в Recycler-е вьюхи оборачиваются во врапперы, которые не знают, что у их child-ов есть тени
2022-11-01 18:58:53 +03:00
grechka62 72c0cc6339 Blur implementation 2022-11-01 14:29:07 +03:00
nikita-kladov 6f9c24c2ae add extensions unbind for DivCustom 2022-11-01 13:37:43 +03:00
gulevsky b5a1633558 Revert commit 'fix accessibility hint pronouncing. Remove hint from View.contentDescription' 2022-11-01 00:23:55 +03:00
alexredko 6789b34697 add hyphenation support for text with custom ellipsis
add hyphenation support for text with custom ellipsis
2022-10-28 14:06:57 +03:00
evgeek 3cfadde91a Replace assert when setting variables with
returning corresponding exceptions + showing visual
error.
2022-10-28 13:49:43 +03:00
nikita-kladov c772e79574 fix overlap container children size measure 2022-10-28 13:30:32 +03:00
tayrinn 096bb9f5e4 add static for version name 2022-10-27 14:41:59 +03:00
nikonovmi 0d5b88ac94 fixed missing ellipses
fixed broken ellipsis on text change

Кейс 1:
Шаги воспроизведения:
Если много щелкать открыть-закрыть, то иногда не появляется ellipsis и появляется скролл

Кейс 2:
Шаги воспроизведения:
Открыть карточку с дивным тескстом, где в ellipsis есть картинка. Вместо обрезанного текста будет одинокий ellipsis и все.
2022-10-27 12:15:29 +03:00
ttok 519e52a6ea fix attaching pager indicator 2022-10-24 22:13:18 +03:00
timatifey a4377cbc7f DIVKIt-659: NinePatchDrawable
android ninepatch drawable impl
2022-10-24 12:22:19 +03:00
alexredko bef348dc95 fix accessibility hint pronouncing. Remove hint from View.contentDescription
fix accessibility hint pronouncing
2022-10-24 12:04:10 +03:00
arsenosov c2b8489d67 Added circle shape to Android
Added circle shape to Android
2022-10-21 17:39:09 +03:00
grechka62 546d4a921f Fix edge line separators drawing in wrap container 2022-10-21 16:30:51 +03:00
grechka62 860d9c774d Implement separators in wrap container 2022-10-20 13:21:49 +03:00
ggys fe564c7426 added bind on attach exp
added bind on attach exp
2022-10-20 11:53:34 +03:00
i-ts f033bb4c24 convert expression result into string for string properties 2022-10-20 10:25:47 +03:00
i-gorelov 0991d00860 Add tint_mode for images in div-text 2022-10-19 21:20:16 +03:00
ggys 1e97bffc3f add bind on attach metric support
add bind on attach metric support
2022-10-19 13:58:12 +03:00
nikita-kladov 98b4072575 fix invalid view visibility on change state 2022-10-17 14:25:15 +03:00
edubinskaya 4084bef2b4 correct gallery pages position
correct gallery pages position
2022-10-15 13:09:29 +03:00
morevsavva 43e657cdbf Fix nine patch name.
Fix nine patch name.
2022-10-13 15:22:47 +03:00
grechka62 156885849b Enable separators in linear layout 2022-10-13 15:11:08 +03:00
grechka62 b22b1c9dd1 Invalidate slider after thumb text style update 2022-10-13 13:03:54 +03:00
morevsavva 69b39ad31e Add nine patch for background images.
Add nine patch for background images.
2022-10-12 18:53:59 +03:00
grechka62 b56881a82e Implement warning when child has match parent size along cross axis 2022-10-12 14:41:27 +03:00
gulevsky ca921e4248 support external theme in div context
support external theme in div context
2022-10-12 12:23:43 +03:00
i-gorelov 941812c600 Add tint_mode for div-image.
Добавляем параметр 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
2022-10-11 19:57:07 +03:00