Code example for ScrollView

Methods: requestFocussetVisibility

0
			 Rotate3dAnimation rotation;          
			 if (mPosition > -1) {
				 myList1.setVisibility(View.GONE);
				 mImageView.setVisibility(View.VISIBLE);
				 mImageView.requestFocus();
				 mScrollView.setVisibility(View.VISIBLE);
				 mScrollView.requestFocus();
				 rotation = new Rotate3dAnimation(90, 360, centerX, centerY, 310.0f, false);
			 } else { 
				 mScrollView.setVisibility(View.GONE);
				 myList1.setVisibility(View.VISIBLE);
				 myList1.requestFocus();
				 rotation = new Rotate3dAnimation(90, 0, centerX, centerY, 310.0f, false);
			 } 
 
			 rotation.setDuration(500);
			 rotation.setFillAfter(true);
			 rotation.setInterpolator(new DecelerateInterpolator());
 
			 mContainer.startAnimation(rotation);
Stop searching for code, let great code find you!  Add Codota to your java IDE