TransitionManager.beginDelayedTransition(mSceneRoot, mTransition);
int id = view.getId();
LayoutParams params = null;
switch (id) {
case R.id.button1:
params = new LayoutParams(200, 200);
mButton.setText("A");
mTextView.setText("1111111");
mImageView.setImageResource(R.drawable.self_portrait_square_100);
break;
case R.id.button2:
params = new LayoutParams(400, 200);
mButton.setText("B");
mTextView.setText("2222222");
mImageView.setImageResource(R.drawable.self_portrait_square_200);
break;
case R.id.button3:
params = new LayoutParams(200, 400);
mButton.setText("C");
mTextView.setText("3333333");
mImageView.setImageResource(R.drawable.self_portrait_square_400);
break;
}
mButton.setLayoutParams(params);