Created
November 13, 2014 18:07
-
-
Save alexjlockwood/1c2b10ae6d395cc669e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TransitionActivity extends Activity implements View.OnClickListener { | |
private static final Transition TRANSITION = new Fade(); | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
mRootView = findViewById(R.id.root_view); | |
mRootView.setOnClickListener(this); | |
} | |
@Override | |
public boolean onTouchEvent(MotionEvent event) { | |
if (event.getActionMasked() == MotionEvent.ACTION_UP) { | |
} | |
return super.onTouchEvent(event); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment