Bug 56074 - Cannot Remove Footer Divider
Summary: Cannot Remove Footer Divider
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.4
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jimmy [MSFT]
Depends on:
Reported: 2017-05-05 21:26 UTC by Hakan
Modified: 2017-06-14 22:10 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description Hakan 2017-05-05 21:26:27 UTC
I tried the following to remove the divider line under the last listview item but none worked:

Control.OverscrollFooter = new ColorDrawable(Android.Graphics.Color.Transparent);
Comment 1 Jimmy [MSFT] 2017-05-09 18:04:44 UTC
Instead of a custom renderer, can you try using SeparatorVisibility.None when creating the ListView in Forms? For example:

var listView = new ListView
    ItemsSource = items,
    SeparatorVisibility = SeparatorVisibility.None
Comment 2 Jimmy [MSFT] 2017-06-14 22:10:35 UTC
I tested this in a new project and using a custom renderer does not appear to be required. Setting ListView.SeparatorVisibility = SeparatorVisibility.None instead will remove the separator line between the last item and footer. 

If you still encounter this issue, please reopen the ticket and attach a reproduction project so we can continue looking into this. Thanks!