moviemastersdk
Newbie
how can i assign two actions to one button
i've tried this
i've tried this
Code:
bHat_cl.setOnTouchListener(new View.OnTouchListener() {
public boolean onTouch(View v, MotionEvent event) {
if (event.getAction() == MotionEvent.ACTION_DOWN) {
sp.play(hat_cl, 1, 1, 1, 0, 1);
sp.stop(hat_op);
return true;
}
return false;
}
});