I\'ve a RelativeLayout
thus:
// <-- View.VISIBLE OR View.GONE
<
why not update the below
attribute of TextView3 when you update the visibility of TextView2? (I assume you do this in code)
something like
TextView tv = (TextView) findViewById(R.id.textview3);
RelativeLayout.LayoutParams lp =
(RelativeLayout.LayoutParams) tv.getLayoutParams();
lp.addRule(RelativeLayout.BELOW, R.id.textview1);
((TextView) view).setLayoutParams(lp);