在SeekBar android中RelativeLayout作为自定义拇指
我需要在 SeekBar 中的拇指上添加一些动态文本,这可能吗?如果有人知道任何例子那就太好了。 谢谢
I need to have some dynamic text on thumb in SeekBar is it possible? If someone knows any example that will be great.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
创建一个可绘制对象,上面有文本。
参考:将图像和文本组合成drawable
然后将这个drwable动态设置到seekbar上使用:setThumb 方法。
希望有帮助......
Create A drawable, with text on it.
Refer to : Combine image and text to drawable
Then set this drwable dynamically onto seekbar using: setThumb method .
Hope it helps........