GridView怎么实现长按改变颜色(单选),只是当前选中那块改变颜色,其他不变.再长按其他的,就换到其他的改变颜色.原来被长按那个恢复.是长按
for (int i=0;i < arg0.getChildCount();i++){
if (position==i){
v.setBackgroundColor();
}else{
v.setBackgroundColor();
}
}
3 回答857 阅读✓ 已解决
2 回答2.1k 阅读
2 回答971 阅读✓ 已解决
1 回答751 阅读✓ 已解决
2 回答868 阅读
2 回答805 阅读
1 回答747 阅读