title: Pass click event through the view android
body: <p>I have frame layout:</p>
  
  <pre><code>&lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_margin="10dp" &gt;
  
  &lt;LinearLayout
      android:id="@+id/widgetView"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_gravity="center"
      android:layout_margin="10dp"
      android:gravity="center" &gt;
  &lt;/LinearLayout&gt;
  
  &lt;LinearLayout
      android:id="@+id/widgetOverlayFrame"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:clickable="false" &gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>First layout contains widget layout, and second one is transparent and receives onLongClick for dragging method.That works, the problem is when i want to interact with widget, to click something, click event is taken by overlayFrame. How can i pass click event trough overlayFrame to widgetView?</p>
  
  <p>EDIT:</p>
  
  <p>Now I'm trying to attach GestureLister to overlayFrame LinearLayout, to somehow see difference between MotionEvent that represent single click and long click. The problem that I'm facing is that OnLongPress in gesture listener is always called whatever I do, single click or long click.</p>
  
  <p>Is there an explanation for this behavior? Tnx!</p>