android - why is there an underlying line beneath my listView? -


After

I have the following XML:

  & lt; XML version = "1.0" encoding = "utf-8" & gt; & Lt; LinearLayout xmlns: android = "Http://schemaskandroidkcom/apk/res/android" Android: Layout_width = "Match_parent" Android: Layout_height = "Match_parent" android: orientation = "vertical" android: paddingLeft = "8 DP "Android: PaddingRight =" 8 DP "& gt; & Lt; TextView Android: id = "@ + id / errorMsg" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" /> & Lt; Android: layout_height = "match_parent" android: layout_weight = "1" Android: drawSelectorOnTop = "false" /> & Lt; / LinearLayout & gt;   

And this XML for each item in ListView?

  & lt; XML version = "1.0" encoding = "utf-8" & gt; & Lt; LinearLayout xmlns: android = "Http://schemaskandroidkcom/apk/res/android" Android: Layout_width = "Match_parent" Android: Layout_height = "Match_parent" android: orientation = "vertical" android: paddingLeft = "8 DP "Android: PaddingRight =" 8 DP "& gt; & Lt; RelativeLayout android: id = "@ + id / offerImage" Android: Layout_width = "Match_parent" Android: layout_height = "360dp" android: orientation = "horizontal" android: paddingLeft = "8dp" Android: paddingRight = "8dp" & gt; & Lt; Android: layout_alignParentBottom = "true" Android: layout_alignParentLeft = "true" Android: layout_marginBottom = "82dp" Android: scaleType: ImageButton android: id = "@ + id / lockImage" Android: layout_width = "60dp" Android: layout_height = "60dp" = "fitXY" Android: src = "@drawable / lock-off" /> & Lt; / RelativeLayout & gt; & Lt; LinearLayout Android: Layout_width = "Match_parent" Android: layout_height = "60dp" android: orientation = "horizontal" android: paddingLeft = "8dp" Android: paddingRight = "8dp" & gt; & Lt; See Android: layout_width = "0dp" Android: layout_height = "wrap_content" Android: layout_weight = "0.2" /> & Lt; Android: background = "# 334,455" Android: text = "@ string:" Android: attr / buttonStyleSmall "id =" @ + id / unlikeBtn "style = Android: layout_width =" wrap_content "android: layout_height =" wrap_content " / Contrast "/> & Lt; / LinearLayout & gt; & Lt; / LinearLayout & gt;   

And I can not understand why I see an underlying line below the list?

Enter image details here

< Div class = "post-text" itemprop = "text">

I think this list is broken by the viewer and the code below: -

Do you code in < Pre> getListView (). SetDivider (null); GetListView () setDividerHeight (0).

or do on XML

  android: divider = "@ null" Android: dividerHeight = "0dp" Android: divider = "# 00000000" ( As transparent color)    

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -