1
我想将选中的ListViewItem
的文本颜色设置为Xamarin Forms Android中的白色。在Xamarin.Forms中设置选定的ListView TextColor Android
在iOS上,我可以用自定义的ListViewRenderer和自定义的UITableViewSource来设置HighlightedTextColor。
cell.TextLabel.HighlightedTextColor = UIColor.FromRGB(255, 255, 255);
在Android中是否有这样的等效物?我已经尝试过Resource.Attribute
ColorControlActivated
,但它不起作用。
添加对您的答案的解释。现在在LQ审查中。 – NSNoob