Alignment issue for TextView
<p>I am displaying the <code>TextView</code> within a <code>RelativeLayout</code>.</p>

<p>I want to put the <code>TextView</code> at the center of the Layout.</p>

<p>Within the layout xml,
for <code>TextView</code> am using the property  <code>android:gravity="center"</code>  is not working .</p>

<p>I do not want to hard code by using <code>android:layout_marginLeft</code> or Right since it can give different effect in portrait or landscape mode.</p>

<p>Is there property so that it looks the same for both landscape &amp; portrait mode &amp; the <code>TextView</code> occupies the center of the Layout</p>
