When I click tv,I can trigger click event of ll. " /> When I click tv,I can trigger click event of ll. " /> When I click tv,I can trigger click event of ll. "/>

How can I trigger click event of LinearLayout when I click on a EditText in it?

159 Views Asked by At
<LinearLayout id="ll">
  <TextView id="tv">
  </TextView>
  <EditText id="et">
  </EditText>
</LinearLayout>

When I click tv,I can trigger click event of ll.

But,when I click et,I can't.

It seems that et consume the click event.

How can solve this strange problem?

0

There are 0 best solutions below