Vertical divider in android listview not working -


i have listview need show contact pictures , details. format :

the vertical separator not showing @ al! here layout file listitem: [using relative layout here have more views added in list relatively]

<imagebutton android:id="@+id/pic"                                   android:layout_alignparenttop="true"                                   android:layout_alignparentleft="true"/>        <imageview android:id="@+id/vertical_separator"            android:orientation="vertical"            android:layout_width="wrap_content"            android:layout_height="fill_parent"            android:background="@android:drawable/divider_vertical_bright"            android:layout_torightof="@id/badge"            android:layout_alignwithparentifmissing="true"/>                                  <textview android:id="@+id/details"           android:layout_torightof="@id/verticalseparator"           android:layout_aligntop="@id/badge"           android:layout_alignwithparentifmissing="true"/> 

even though height "fill_parent" , divider shown small dot after contact picture. tried changing width 2dp ..but still same.

--i use listadapter type fill in list:

am missing here? horizontal divider shown correctly, not vertical divider

i think "@id/badge" in imageview , textview should "@id/pic" instead. (or other way around.)


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -