横、竖分割线
2016-05-31 18:02
295 查看
竖分割线:
<View
android:layout_width="0.5px"
android:layout_height="120dp"
android:background="#B8B8B8"
android:visibility="visible" /> <!-- 竖直线 -->
横分割线:
<View
android:layout_width="fill_parent"
android:layout_height="1dp"
android:layout_marginLeft="1dp"
android:layout_marginRight="1dp"
android:background="@drawable/divider_horizontal_line"/> <!-- 这里用的图片,也可以用颜色<pre name="code" class="html">android:background="#B8B8B8"-->
<View
android:layout_width="0.5px"
android:layout_height="120dp"
android:background="#B8B8B8"
android:visibility="visible" /> <!-- 竖直线 -->
横分割线:
<View
android:layout_width="fill_parent"
android:layout_height="1dp"
android:layout_marginLeft="1dp"
android:layout_marginRight="1dp"
android:background="@drawable/divider_horizontal_line"/> <!-- 这里用的图片,也可以用颜色<pre name="code" class="html">android:background="#B8B8B8"-->
相关文章推荐
- hdu2648 shopping(map应用)
- docker 通过Dockerfile build image
- Fragment基本应用
- 冒泡排序算法及其优化
- 字符串函数原型
- Spring对Hibernate事务管理
- JQuery中的 .val()
- Android Dev Intro - ANativeWindow
- 对于COM对象使用ComPtr代替传统指针
- React Native01-开始 Windows环境安装配置篇
- UIDevice - 获取iPhone系统信息
- 二叉树的所有路径
- CSS3创建H5预载动画效果
- java并发机制底层原理
- PHP防盗链的一个案例
- tomcat配置虚拟目录映射
- ---NSPredicate(过滤器)
- 稳定排序和不稳定排序
- mysql 增查删改,备份恢复,授权等基础常用命令
- springMVC初探