DivKit 28.2.0
Hi everyone! We are excited to announce the release of DivKit 28.2.0, a minor version update with several notable changes.
Android
- Implemented text shadow.
From now you can set fieldtext_shadow
field for DivText. You can configurealpha
,blur
,offset
andcolor
.
{ "type": "text_block", "text": "Text with shadow", "text_shadow": { "alpha": 0.9, "color": "#FFFF00", "blur": 3, "offset": { "x": { "unit": "px", "value": 2 }, "y": { "unit": "px", "value": -2 } } } }
![](/file/5b0aade347ba517c2fbda.png)
- Added support of new content alignment types in container:
space-around
,space-between
,space-evenly
. - Implemented action
focus_element
.div-action://focus_element?element_id=element_id
request focus for view withid
==element_id
. - Fixed drawing items with shadow inside
overlap
container. - Fixed patching items inside
gallery
andpager
.
iOS
- Improved
DivSlider
performance. - Fixed memory leaks in
ExpressionResolver
. - Fixed
DivContainer
with constrained children height.
Kotlin JSON Builder
- Fixed missing
*
symbol in URL validating regex.