开发者

Android ListView Faded Edge

开发者 https://www.devze.com 2023-03-13 12:11 出处:网络
By default, the faded edge at the top of a ListView only shows u开发者_如何学Gop once you start scrolling through the list.Is there any way to have that top faded edge shading show up even when you ha

By default, the faded edge at the top of a ListView only shows u开发者_如何学Gop once you start scrolling through the list. Is there any way to have that top faded edge shading show up even when you haven't scrolled down at all?

Thanks!


In this case, I would remove the fading edge from the list view and just add an ImageView right above your ListView(perhaps both of them together in a layout) and make the src the drawable of the fading edge.

You can find the drawables in your sdk folder/platforms/platform-version/data/res/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号