Hey folks! 🖖 Is there some API (modifier?) which would allow me to add show custom attributes of compose view in layout inspector? We are doing runtime inspection using 3rd party tool and there doesn’t seem to be an easy way to tag views so that we are able to find them easily..
c
Chris Sinco [G]
08/12/2021, 9:54 PM
I don’t believe there is so you may need to file a feature request. cc @nosuid
j
josefdolezal
08/12/2021, 10:30 PM
@Chris Sinco [G] not even through accessibility API? compose’s Icon is able to set contentDescription property.. or maybe there is an alternative for
tag
available in android view?
c
Chris Sinco [G]
08/12/2021, 10:45 PM
So we added supported to show Semantics info in the Layout Inspector in Bumblebee - it’s not available in Arctic Fox. I don’t believe there’s a generic tag property for Composables.