Slide 39
Slide 39 text
Kotlin Budapest Meetup – @stewemetal
Visualizing the semantics tree 🌳👀
• In Compose tests
onRoot()
.printToLog("RowAndTexts")
D/RowAndTexts: printToLog:
Printing with useUnmergedTree = 'false'
Node #1 at (l=0.0, t=66.0, r=224.0, b=125.0)px
|-Node #2 at (l=0.0, t=66.0, r=136.0, b=125.0)px
| Text = '[100 ml]'
| Actions = [GetTextLayoutResult]
|-Node #3 at (l=0.0, t=66.0, r=224.0, b=125.0)px
Text = '[2022-05-03]'
Actions = [GetTextLayoutResult]
Text = '[100 ml]' Text = '[2022-05-03]'
Root