Android中添加竖线和横线的方法

竖线

<View  
    android:layout_width="1dip"
    android:layout_height="match_parent"
    />


横线

<View  android:layout_height="1px"
           android:layout_width="match_parent"

/>

原文地址:https://www.cnblogs.com/yaksha/p/4187898.html