@Override
public boolean onTouchEvent(MotionEvent event) {
if(event.getAction()==MotionEvent.ACTION_DOWN){
Log.d(VIEW_LOG_TAG, "Touching Down");
}
if(event.getAction()==MotionEvent.ACTION_UP){
Log.d(VIEW_LOG_TAG, "Not Touching");
}
}
Run Code Online (Sandbox Code Playgroud)
我想要Log - >"Touching Down"应该连续显示在Log中,直到释放手指.
请帮忙
它真的很重要......我不能在没有这个的情况下继续进行ma项目.