Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CTB 4-8
@Override
public boolean onTouchEvent(MotionEvent event) {
if (start_flg == false) {
start_flg = true;
FrameLayout frame = findViewById(R.id.frame);
frameHeight = frame.getHeight();
boxY = box.getY();
boxSize = box.getHeight();
startLabel.setVisibility(View.GONE);
timer.schedule(new TimerTask() {
@Override
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment