I am trying to understand the spacing of elements in an AlertDialog. The AlertDialog is created using AlertDialog.Builder and contains a custom ListView (set via setView).
When the app is being debugged on my device (over USB) I can launch the Layout Inspector in android studio and observe / study the current layout. When I launch the dialog, it appears on screen and in the layout inspector, but I cannot seem to click on it or view it's layout. Only the layout of the main app, from which the dialog was launched, is visible in the Component Tree.
FWIW, the immediate issue I am trying to solve using layout inspector is reducing the spacing between the message text, and my View, in the alert dialog.





