title: How to make the two buttons center?
body: <p>I have set  android:gravity="center" for the two buttons both btnDelete and btnClose.
  but I still find the two button is on left-side , how can I do ? Thanks!</p>
  
  <p></p>
  
  <pre><code>&lt;TextView
      android:id="@+id/tvBody"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:paddingLeft="2dip" 
      android:textAppearance="?android:attr/textAppearanceMedium"       
      android:text="" /&gt;
  
  &lt;TextView
      android:id="@+id/tvName"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:paddingLeft="2dip"
      android:paddingTop="4dip"
      android:text="" /&gt;
  
  &lt;TextView
      android:id="@+id/tvDate"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:paddingLeft="2dip"
      android:paddingTop="1dip"
      android:paddingBottom="8dip"
      android:text="" /&gt;
  
  &lt;com.google.ads.AdView
      android:id="@+id/adViewabout"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      ads:adSize="SMART_BANNER"
      ads:loadAdOnCreate="true" /&gt;
  
  &lt;TextView
      android:id="@+id/tvOnlyFullSpace"
      android:layout_width="wrap_content"
      android:layout_height="0dip"
      android:layout_weight="1"
      android:text="" /&gt;
  
  &lt;LinearLayout
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:orientation="horizontal" &gt;
  
      &lt;Button
          android:id="@+id/btnDelete"
          style="@style/myTextAppearance"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="center"
          android:gravity="center"
          android:text="@string/delete" /&gt;
  
      &lt;Button
          android:id="@+id/btnClose"
          style="@style/myTextAppearance"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:layout_gravity="center"
          android:text="@string/myreturn" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>