Comment faire pour centrer un textview à l'intérieur d'un linearlayout

J'ai le schéma suivant, j'aimerais faire le textview apparaître dans le centre et le milieu de la vue. Comment puis-je réaliser cela?

J'ai tenté d'ajuster les différents gravité des attributs lors de la recherche à la mise en page dans la vue graphique, mais rien ne semble changer. J'aimerais le textview dans le centre qui je l'ai fait, mais à mi-chemin en bas de la vue.

merci matt.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:background="@drawable/carefreebgscaledalphajpg" >



    <TextView
        android:id="@+id/textviewdatefornocallspage"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:text="You have no calls for "
        android:textSize="25sp" />

</LinearLayout>
InformationsquelleAutor turtleboy | 2012-11-20