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

0

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

0

请先登录再写评论。