Android studio SeekBar应用设计
一、xml布局文件:
1)、默认状态的
<SeekBar android:id="@+id/seekBar3" android:layout_margin="16dp" android:layout_width="match_parent" android:max="100" android:layout_height="32dp" />
2)、改变颜色的:
<SeekBar android:id="@+id/seekBar" android:layout_margin="16dp" android:layout_width="match_parent" android:max="100" android:layout_height="32dp" android:progressTint="@color/teal_200" android:thumbTint="@color/purple_700"/>
3)、改变滑块的drawable
<SeekBar android:id="@+id/seekBar5" android:layout_margin="16dp" android:layout_width="match_parent" android:max="100" android:layout_height="32dp" android:t
原文地址:https://blog.csdn.net/corlin6688/article/details/135457215
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!