square / radiography

Text-ray goggles for your Android UI.
Apache License 2.0
851 stars 35 forks source link

Consider exposing bounds of ComposeView #151

Open AnupKhanal opened 1 year ago

AnupKhanal commented 1 year ago

Hi, I was looking into the code to try and understand(lol) how compose trees were being acquired and to possibly find the bounds of composables as well.

Since the bounds are being successfully acquired in ComposeLayoutInfo, I am hoping you consider exposing this publicly. I suspect it might be useful for others too. Thanks!

pyricau commented 1 year ago

PRs welcome :)