Skip to content

Commit

Permalink
Add float ball.
Browse files Browse the repository at this point in the history
  • Loading branch information
rs-sr committed Feb 7, 2021
1 parent b716d8e commit ac9be44
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public boolean onTouch(View v, MotionEvent event) {

break;
case MotionEvent.ACTION_MOVE:
floatBallBtn.setBackgroundResource(R.drawable.float_ball_bg);
refreshView((int) (event.getRawX() - temp[0]),
(int) (event.getRawY() - temp[1]));
break;
Expand Down

0 comments on commit ac9be44

Please sign in to comment.