setHapticFeedbackEnabled在androi的作用
摘要:使其在触摸的时候没有触感反馈。接着设置长按事件的监听。代码在:launcherlauncher-》setupViews方法 // Setup the workspace mWorkspace.setHapticFeedbackEnabled(false); mWorkspace.setOnLongClickListener(this); mWorkspace.setup(dragController); dragController.addDragListener(mWorkspace);
阅读全文