简体   繁体   English

ListView Android上的奇怪背景色

[英]Strange background color on ListView Android

Currently I'm using ActionBarSherlock and custom ListView Adapter, but I have this strange case on my ListView. 当前,我正在使用ActionBarSherlock和自定义ListView适配器,但是我的ListView上有这种奇怪的情况。 There's different color at the top of ListView, and Icon background should be transparent, but it has background color. ListView的顶部有不同的颜色,并且Icon背景应该是透明的,但是它具有背景色。 Please take a look at the picture and if you don't mind, enlighten me. 请看一下图片,如果您不介意,请启发我。

列表显示

另一项活动

This problem come with ActionSherlockBar theme, to be precise is Theme.Sherlock.Light.DarkActionBar. 这个问题与ActionSherlockBar主题有关,确切地说是Theme.Sherlock.Light.DarkActionBar。 When I set to Theme.Sherlock.Light this problem don't appear. 当我设置为Theme.Sherlock.Light时,不会出现此问题。 I don't know why. 我不知道为什么

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM