解决方案 »

  1.   

    <padding  
            android:bottom="5dp"   
            android:top="5dp"
            android:left="5dp"
            android:right="5dp" />
    左右为0不就行了
      

  2.   

        <TextView
            android:background="@color/mainColor"
            android:layout_width="match_parent"
            android:layout_height="1dp" />
      

  3.   

    可以在下面添加 一个view元素 如                  
      <View
                            android:layout_width="fill_parent"
                            android:layout_height="1dip"
                            android:background="@color/iht_grey" />
      

  4.   

    赠人玫瑰手留余香,
    这个问题虽然我解决了,还是共享给后来者吧
    XML布局:<?xml version="1.0" encoding="UTF-8"?>
    <layer-list xmlns:android="http://schemas.android.com/apk/res/android" >    <!-- 连框颜色值 -->
        <item>
            <shape>
                <solid android:color="#000000" />
            </shape>
        </item>
        <!-- 主体背景颜色值 -->
        <item
            android:top="1dp"
            android:left="1dp"
            android:right="1dp">
            <shape>
                <solid android:color="#ffffff" />
            </shape>
        </item>
    </layer-list>
      

  5.   

    最好的方法 就是加一个imageview