本文介绍了快速滚动的自定义拇指的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何设置自定义的拇指快速滚动的列表视图。
how can i set custom thumb for fast scroll in listview.
推荐答案您可以设置成style.xml
you can set that into the style.xml
<style name="Theme_app" parent="@android:style/Theme.Holo.Light"> <item name="android:fastScrollThumbDrawable">@drawable/fastscroll_thumb_holo</item> </style>
比图像创建可绘制一个XML
than create an xml in Drawable for the image
<selector xmlns:android="schemas.android/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/fastscroll_thumb_pressed_holo" /> <item android:drawable="@drawable/fastscroll_thumb_default_holo" /> </selector>更多推荐
快速滚动的自定义拇指
发布评论