@Override public void didReceivedNotification(int id, Object... args) { if (id == NotificationCenter.cameraInitied) { checkCamera(true); cameraPanel.bringToFront(); recordTime.bringToFront(); } }
@Override public void onResume() { if (paused) { if (mGalleryConfig == null) mGalleryConfig = getArguments().getParcelable(GALLERY_CONFIG); checkCamera(true); cameraPanel.bringToFront(); recordTime.bringToFront(); } paused = false; }
@Override public void onAnimationStart(Animation arg0) { animationFirstArist.setBackgroundColor(backgrounColor); animationSecondArist.setBackgroundColor(backgrounColor); animationCircle.setCardBackgroundColor(backgrounColor); animationSquare.setBackgroundColor(backgrounColor); animationFirstArist.setVisibility(View.VISIBLE); findViewById(R.id.login_container).setVisibility(View.INVISIBLE); animationSecondArist.setVisibility(View.VISIBLE); animationCircle.setVisibility(View.VISIBLE); animationSquare.setVisibility(View.VISIBLE); animationTV.setVisibility(View.VISIBLE); loginFormContainer.setVisibility(View.VISIBLE); loginTV.setVisibility(View.INVISIBLE); animationFirstArist.bringToFront(); squareParent.bringToFront(); animationSecondArist.bringToFront(); animationCircle.bringToFront(); findViewById(R.id.buttons_container).bringToFront(); loginFormContainer.bringToFront(); loginTV.bringToFront(); animationTV.bringToFront(); }
@Override public void onAnimationStart(Animation arg0) { findViewById(R.id.singup_container).setVisibility(View.INVISIBLE); animationCircle.setVisibility(View.VISIBLE); animationFirstArist.setVisibility(View.VISIBLE); animationSecondArist.setVisibility(View.VISIBLE); animationSquare.setVisibility(View.VISIBLE); animationTV.setVisibility(View.VISIBLE); singupFormContainer.setVisibility(View.VISIBLE); animationFirstArist.bringToFront(); squareParent.bringToFront(); animationSecondArist.bringToFront(); animationCircle.bringToFront(); findViewById(R.id.buttons_container).bringToFront(); singupFormContainer.bringToFront(); singupTV.bringToFront(); animationTV.bringToFront(); animationFirstArist.setBackgroundColor(backgroundColor); animationSecondArist.setBackgroundColor(backgroundColor); animationCircle.setCardBackgroundColor(backgroundColor); animationSquare.setBackgroundColor(backgroundColor); }