Android 节点进度条
程序员文章站
2024-02-05 12:05:22
...
本项目基于BubbleSeekBar新增的功能。动态控制显示远点还是自定义的图片。
使用:
<com.xw.repo.BubbleSeekBar
android:id="@+id/demo_1_seek_bar_5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
app:bsb_always_show_bubble="true"
app:bsb_touch_to_seek="true"
app:bsb_show_thumb_bitmap="true"
app:bsb_thumb_width="20dp"
app:bsb_thumb_height="30dp"
app:bsb_thumb_image="@mipmap/trade_node_tips"
app:bsb_track_size="4dp"
app:bsb_second_track_size="4dp"
app:bsb_bubble_text_size="13dp"
app:bsb_section_count="4"
app:bsb_show_section_mark="true"
app:bsb_thumb_radius="20dp"
app:bsb_thumb_radius_on_dragging="20dp"
app:bsb_second_track_color="#32ADF5"
app:bsb_track_color="#84878F"/>
git直通车demo地址