滚动视图,如在ListView有一个淡出沿着那里是在那个方向更多的内容边缘的内容。我怎样才能把这个衰落了吗?我知道你可以改变cacheColorHint这里讨论的:http://developer.android.com/resources/articles/listview-backgrounds.html但是这不是我所期待的,也不会达到我所期待的在这种情况下。
Scrollable views such as the ListView have a fade out of the content along the edges where there is more content in that direction. How can I turn this fading off? I know you can change the cacheColorHint as discussed here: http://developer.android.com/resources/articles/listview-backgrounds.html but that is not what I am looking for and will not achieve what I am looking for in this case.
欲完全禁用褪色或能够减小尺寸和或它的透明度。这可能吗?
I want to disable the fade completely or be able to reduce the size and or transparency of it. Is this possible?
我实际上并不能马上进行测试,但我相信fadingEdge是你在找什么:
I can't actually test it right now, but I believe fadingEdge is what you're looking for:
安卓fadingEdge =无
或
listView.setVerticalFadingEdgeEnabled(假);
http://developer.android.com/reference/android/view/View.html#setVerticalFadingEdgeEnabled(boolean)
上一篇:需要帮助寻找从堆栈跟踪字节偏移电压源$ C $ C线堆栈、字节、电压
下一篇:安卓:android.content.res.Resources $ NotFoundException:字符串资源ID#0x5的字符串、资源、res、content