I\'ve got a button graphic which needs to have \"press and hold\" functionality, so instead of using onClickListener, I\'m using onTouchListener so that the app can react to
Better solution:
@Override public void onClick(View v) { if (v.isActivated()) v.setActivated(false); else v.setActivated(true); }