Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Removes the material ripple effect on the Xamarin.Forms Android ListView.
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="">
<item android:state_window_focused="false" android:drawable="@android:color/transparent"/>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using YourProject.Droid.CustomRenderers;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer (typeof(ListView), typeof(NoRippleListViewRenderer))]
namespace YourProject.Droid.CustomRenderers
public class NoRippleListViewRenderer : ListViewRenderer
protected override void OnElementChanged(ElementChangedEventArgs<ListView> e)

This comment has been minimized.

Copy link

mecvillarina commented Jan 17, 2018

Hi, Thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.