title: Long Press Button Event Handler
body: <p>I have seen several articles such as this  <a href="https://stackoverflow.com/questions/4402740/android-long-click-on-a-button-perform-actions">one</a> describing how to handle a long press event with a button. I can follow these directions but I am wondering if it is possible to do it the same way I handled a click. The way I handled a click was to define the handler in XML as such:</p>
  
  <pre><code>&lt;Button
      android:id="@+id/btn_NextLift"
      ...
      android:onClick="btn_NextLiftClick" /&gt;
  </code></pre>
  
  <p>then in code as such:</p>
  
  <pre><code>public void btn_NextLiftClick(View vw_Current) 
      {...}
  </code></pre>
  
  <p>I do see the boolean property longClickable in the xml but I don't see where to define an event handler so...???</p>
  
  <p>TIA
  JB</p>