private void showDisplayMode() { viewContactDisplay.bind(contact); sceneDisplay = new Scene(frameLayout, viewContactDisplay); TransitionManager.go(sceneDisplay, getBoundsTransition()); }
private void hidePlatforms() { TransitionManager.beginDelayedTransition(this); mPlatforms.setVisibility(GONE); refreshSelectedPlatform(); mIndicator.setRotation(0); }
/** * *************************************************** ---------------- * Scenes * * -------------------- * * <p>************************************************** */ private void showEditMode() { viewContactEdit.bind(contact); sceneEdit = new Scene(frameLayout, viewContactEdit); TransitionManager.go(sceneEdit, getBoundsTransition()); }
private void showPlatforms() { TransitionSet transitionSet = new TransitionSet(); transitionSet .addTransition(new Fade(Fade.OUT).addTarget(mSelectedPlatform).setDuration(150)) .addTransition(new Slide(Gravity.LEFT).addTarget(mPlatforms).setDuration(400)) .addTransition(new Rotate().addTarget(mIndicator).setDuration(500)); TransitionManager.beginDelayedTransition(this, transitionSet); mIndicator.setRotation(180); mPlatforms.setVisibility(VISIBLE); mSelectedPlatform.setVisibility(GONE); }