<View
android:layout_height="2px"
android:layout_width="fill_parent"
android:background="#ff909090"
/>
在LinearLayout中定义一条分割线时需要加上laout_width属性,不然程序会报错
在Tablelayout中可以不加
<View
android:layout_height="2px"
android:layout_width="fill_parent"
android:background="#ff909090"
/>
在LinearLayout中定义一条分割线时需要加上laout_width属性,不然程序会报错
在Tablelayout中可以不加