Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自定义isb_indicator_content_layout 能否只在seekbar 滑动时显示 #140

Open
HanteIsHante opened this issue Dec 29, 2018 · 5 comments

Comments

@HanteIsHante
Copy link

Seekbar 顶部 pop 能不能只有在左右滑动时显示,因为一进来显示默认刻度时,那个pop 显示在左侧刻度0位置,不是在默认刻度上方

@HanteIsHante
Copy link
Author

HanteIsHante commented Dec 29, 2018

如下图:image

@warkiz
Copy link
Owner

warkiz commented Jan 2, 2019

@HanteIsHante indicator默认是显示在thumb的上方的,你这个不是吗?可以设置只有在滑动的时候才显示indicator的,具体可以看看demo或readMe

@HanteIsHante
Copy link
Author

@warkiz 应该显示在末尾选中的那个正上方,而不是显示在开始位置

@HanteIsHante
Copy link
Author

看到了,在指示器停留

@HanteIsHante
Copy link
Author

HanteIsHante commented Jan 15, 2019

@warkiz 上面那个指示器应该显示在末尾上方,但实际显示在了左侧位置。是自定义了一个 topview;
我要是设置成只在滑动时显示popview, 就不能设置seekbar 外部的layout,popview 里面的显示值还能自己设置吗? android:id="@+id/isb_progress" 时 通过 isb_progress.setText 会报空。

java.lang.IllegalStateException: isb_progress must not be null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants