【发布时间】:2016-06-05 19:17:27
【问题描述】:
我有一个带有自定义 ViewCell 的 ListView 来显示文章。但是,当您选择一个项目时,它会显示材料设计波纹/选择效果。
Xaml:
<ListView HasUnevenRows="True" ItemsSource="{Binding NewsArticles}" IsPullToRefreshEnabled="True">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout Padding="10">
<Label Text="{Binding Title}" HorizontalOptions="Center" FontAttributes="Bold" />
<Image Source="{Binding ImageUrl}" IsVisible="{Binding HasImage}" />
<Label Text="{Binding Content}"></Label>
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
如何消除涟漪效应?
【问题讨论】:
标签: c# android xaml listview xamarin.forms