用户不能使用SeekBar互动 [英] User can not interact with the Seekbar

查看:187
本文介绍了用户不能使用SeekBar互动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的自定义列表视图1搜索栏。现在,我不希望该用户手动更改搜索栏的进展。所以我有什么关系?

I have one seekbar in my custom listview . Now i dont want that user change the seekbar progress manually. so what i have to do ?

如何删除能力,为用户与之交互的搜索栏...

how to remove the ability for a user to interact with the SeekBar...

推荐答案

试着用的setEnabled禁用搜索栏(假)您已设置要的值之后搜索栏

Try disabling the Seekbar with setEnabled(false) right after you have set the value you want to the SeekBar

这篇关于用户不能使用SeekBar互动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆