Android Studio - Is it possible to get notified which widget inside the GUI builder is being selected?

Hello,

is it possible to get notified which widget inside the GUI builder is being selected?

Thanks

Rouven

1 comment
Comment actions Permalink

Yes. You can use DesignerEditor.getDesignerPanel().getSurfaceArea().addSelectionListener() to install a listener.

0

Please sign in to leave a comment.