Native Button Problem

I placed my native button in a absolute layout… Both native button and layout have their own click events… Now the problem is when i click on native button layout’s event also triggering how can i solve this problem…
(instead of native button i used Button but i getting problem in Theme)

Anyone can help me…

Parthipan R

You can check the type of the clicked component:

layout.addListener(new LayoutClickListener() {
	public void layoutClick(LayoutClickEvent event) {
		if (event.getChildComponent() instanceof NativeButton) {
			// Native button clicked, do nothing

Thank U very much