Android 为布局间添加横线和竖线分割界面

看效果图:


竖线

<View  
    android:layout_width="1dip" 
    android:layout_height="match_parent"
    android:background="#FF4081"
    android:layout_gravity="center_horizontal"
    />


横线

<View  android:layout_height="1px" 
           android:layout_width="match_parent"
           android:background="#FF4081"

/>

猜你喜欢

转载自blog.csdn.net/nazicsdn/article/details/80193406
今日推荐