<SeekBar
android:id="@+id/seekBar2"
style="@style/Widget.AppCompat.SeekBar.Discrete"
android:layout_width="match_parent"
android:layout_height="48dp"
android:thumb="@drawable/ic_circle"
android:max="7"
android:progress="3"/>
https://i.stack.imgur.com/NBU9Z.jpg
如何实现搜索栏离散化,将导航抽屉中的勾号从点改为数字。有没有可能。
1条答案
按热度按时间lymnna711#
使用值并使用枚举:
或者使用像https://github.com/warkiz/IndicatorSeekBar这样的库