修改ListView 分割线Seperator line

 

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

这两句是关键

 

 

你可能感兴趣的:(ListView)