RelativeLayout 设置android:layout_centerVertical="true"但不完全正中

RelativeLayout 设置android:layout_centerVertical="true"但不完全居中
    <RelativeLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/huiwuxqbj">

        <TextView
            android:id="@+id/main_content"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="15dip"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:textColor="#ffffff"
            android:textSize="30sp"
            android:lines="3"
            android:ellipsize="end"
            android:textStyle="bold" />
    </RelativeLayout>


文字是在布局的垂直中间偏上的位置,而不是在垂直的中间
------解决方案--------------------
是不是RelativeLayout没有fill_parent的原因
------解决方案--------------------
不知道你是问全屏中间还是说只在当前自适应大小的中间:看下面代码,能够实现你的中间的愿望,这里是全屏中间,如果你这是要布局中间就直接修改  android:layout_height="match_parent"  --》android:layout_height="wrap_content",希望能够帮到你。
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:gravity="center"
        android:background="#fff">

        <TextView
            android:id="@+id/main_content"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentTop="true"
            android:layout_centerHorizontal="true"
            android:ellipsize="end"
            android:gravity="center"
            android:lines="3"
            android:text="13321"
            android:textColor="#000"
            android:textSize="30dp"
            android:textStyle="bold" />

 </RelativeLayout>