Android设置分隔线

在布局文件中两个需要添加分隔线的控件之间加以下代码

  

    android:layout_width="fill_parent"    

    android:layout_height="1px"   

    android:background="@color/black"  /> 

posted @ 2016-03-27 14:45  艳鬼  阅读(169)  评论(0编辑  收藏  举报