在设计android应用时,设置分隔线的方法一:
在需要设置分隔线的布局文件中加入如下代码:
<View
android:layout_width="fill_parent"
android:layout_height="1px"
android:background="?android:attr/listDivider"
/>
运行实际结果如下:
交流探讨到我的新浪微博:http://weibo.com/tianrui1990
欢迎关注技术分享微信公众号:JavaQ