Hi im trying to recreate this game on android http://ift.tt/1lXvz5V, i successfully inflate a gridview and were able to change the background on a single item on click, but im trying to recreate the "maniac mode", in other words get all the views while i swipe, is this possible? if so how? please help
mGridView.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
if(event.getAction() == MotionEvent.ACTION_MOVE){
return true;
}
return false;
}
});
Aucun commentaire:
Enregistrer un commentaire