set TextView in a center vertical and horizontal
<p>I need set textView10 at center of vertical and horizontal. I've tried a lot without results... I tried with gravity options but nothing.. any idea? textView10 is within scrollview. Thanks for help.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
 &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     android:background="#000000"
     android:orientation="vertical" &gt;

 &lt;LinearLayout 
     xmlns:android="http://schemas.android.com/apk/res/android" 
     android:orientation="horizontal" 
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" 
     android:layout_weight="1"&gt;

  &lt;TextView
      android:layout_width="151dp"
      android:layout_height="fill_parent"
      android:textSize="15pt" /&gt;

  &lt;ScrollView
      android:id="@+id/scrollView10"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:background="#000000" &gt;

  &lt;TextView
      android:id="@+id/textView10"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="#000000"
      android:gravity="center_vertical"
      android:textAlignment="center"
      android:textColor="#ffffff"
      android:textSize="13sp"
      android:textStyle="italic" /&gt;

  &lt;/ScrollView&gt;      

 &lt;/LinearLayout&gt;

     &lt;Button
         android:id="@+id/button10"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:text="Chiudi" /&gt;

&lt;/LinearLayout&gt;
</code></pre>
