Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 14254 [details]
On Android, trying to remove the separator lines between cells in a TableView with a custom renderer does not work. In the custom renderer, the line
> Control.DividerHeight = 0;
does not affect the separator line in the TableView.
### Steps to Reproduce
1. Run the attached Android project
### Expected Results
There are no separator lines between the items.
### Actual Results
The lines are still rendered even though DividerHeight is set to 0.
### Environment Info
=== Xamarin Studio ===
Version 5.10.1 (build 6)
Installation UUID: 94ce5106-6a72-4691-b34e-cd5857b1db66
Mono 4.2.1 (explicit/6dd2d0d)
GTK+ 2.24.23 (Raleigh theme)
Package version: 402010102
=== Xamarin.Profiler ===
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Apple Developer Tools ===
Xcode 7.2 (9548)
=== Xamarin.iOS ===
Version: 184.108.40.206 (Business Edition)
Build date: 2015-12-08 16:20:29-0500
=== Xamarin.Android ===
Version: 220.127.116.11 (Business Edition)
Android SDK: /Users/jimmygarrido/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.1 (API level 16)
4.4 (API level 19)
5.0 (API level 21)
5.1 (API level 22)
6.0 (API level 23)
SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 22.0.1
Java SDK: /usr
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
=== Xamarin Android Player ===
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
Version: 18.104.22.168 (Business Edition)
=== Build Information ===
Release ID: 510010006
Git revision: 0b60eecdb531933734519c13257d16a780274aab
Build date: 2015-12-04 20:28:20-05
Xamarin addins: 9876fd7c9837977178411ec7375b4352c0a0d6af
Build lane: monodevelop-lion-cycle6-baseline
=== Operating System ===
Mac OS X 10.11.1
Darwin Jimmys-MacBook-Pro.local 15.0.0 Darwin Kernel Version 15.0.0
Sat Sep 19 15:53:46 PDT 2015
Craig mentioned in another report that this used to work before Forms 1.3: https://bugzilla.xamarin.com/show_bug.cgi?id=26656#c3
Bug #26104 is also similar to this, but they are using a custom cell renderer instead to remove the line from the section header only.
I am also able to reproduce the bug.
I'm also seeing this in 2.1. Looking at the decompiled TableViewModelRenderer, the GetView function adds a divider to the returned item rather than leveraging the divider/dividerHeight API of the Android ListView. Perhaps most importantly, it sets the background resource of the divider to a hard-coded value that the consumer (me) can't override.
I am seeing this in 22.214.171.124 as well.
Xamarin any update or work around on this?
Anyone else that is in need of a work around, its not ideal but the custom render code is in this forums post.
TableView is short term looking to be replaced by ListView which will grow to support all the features and niceties that TableView provides.
@Samantha, can you guys maybe create an FAQ on the repository homepage to communicate this kind of plans (it would help with anyone submitting or fixing bugs)? I think we need one. We also need a roadmap.