图中箭头指示的是旋转选中的样式,我该如何去掉?如何控制旋钮的选中顺序?
![](http://img-cdn-tc.dcloud.net.cn/uploads/questions/20231221/2037c856cc45cd9c20cbf0994f9a5f17.png)
@Override
public boolean dispatchKeyEvent(KeyEvent event) {
if (event.getKeyCode() == KeyEvent.KEYCODE_VOLUME_UP) {//顺时针旋转
if (event.getAction() == KeyEvent.ACTION_UP) {//按下
}
if (event.getAction() == KeyEvent.ACTION_DOWN){//抬起
}
}
if (event.getKeyCode() == KeyEvent.KEYCODE_VOLUME_DOWN) {//逆时针旋转
if (event.getAction() == KeyEvent.ACTION_UP) {//按下
}
if (event.getAction() == KeyEvent.ACTION_DOWN){//抬起
}
}
if (event.getKeyCode() == 500) {//点按
if (event.getAction() == KeyEvent.ACTION_UP) {//按下
}
if (event.getAction() == KeyEvent.ACTION_DOWN){//抬起
}
}
return super.dispatchKeyEvent(event);
}