xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content">
        android:id="@+id/android:list"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:divider="#FFCC00"
        android:dividerHeight="4px"/>

关键是这两句:

android:divider="#FFCC00"

android:dividerHeight="4px"

前一句是设置分割线的颜色,后一句是设置分割线高(即分割线的粗细)

 

转自:http://hi.baidu.com/huaxinchang/blog/item/8e646901c7190ac1267fb547.html

更多相关文章

  1. EditText的hint位置和光标位置靠右
  2. Android(安卓)颜色渲染(五) LinearGradient线性渲染
  3. android4.0系统点击后颜色-浅蓝色
  4. layout布局属性、标签属性总结大全
  5. android设置窗口特性
  6. 如何为ListView设置分割线
  7. wheelView自定义android日期时间选择器
  8. android之【本地通知Notification】
  9. Android之省市县三级联动

随机推荐

  1. Android Adobe工具类
  2. Android之进程查看,关闭(可操作所有进程)
  3. android listview 详解 开发指南
  4. Android官方文档翻译 一 Getting Started
  5. Android 实现一个http 带参数登录
  6. Android IOS 安全书籍
  7. android比较重要的三个img文件
  8. android tv 实现颜色条滚动效果
  9. android 的单例模式
  10. android 中的MultipartEntity 类