In Android View System you can see the UI tree of different elements that make up the view hierachy for example as shown below:
Apart from Previewing the Composables, I am looking for a way to visualize the Composables in a Component Tree for example given this code:
@Composable
fun TodoScreen(....) {
Column(){
LazyColumn{
...}
Row{
Button(){....}
Text(){...}
}
}
}
Please let me know if there is a way to display a Component Tree on Android Studio Arctic Fox similar to the above Android View Hierachy Image.
You can use View -> Tool Windows -> Layout Inspector
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With