Android studio SeekBar应用设计
2024-01-08 15:51:23
一、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
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。 如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:veading@qq.com进行投诉反馈,一经查实,立即删除!
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。 如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:veading@qq.com进行投诉反馈,一经查实,立即删除!