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

圆形滑动块被截断 #27

Open
ShawYoung opened this issue Feb 25, 2016 · 4 comments
Open

圆形滑动块被截断 #27

ShawYoung opened this issue Feb 25, 2016 · 4 comments

Comments

@ShawYoung
Copy link

滑块在动画过程中会超出控件区域,超出部分会被截断。

在根节点设置clipChildren=false 后,右边不会被截断,但左边依旧会被截断。

轻微影响体验。

@linkser
Copy link

linkser commented Mar 5, 2016

这个又不是viewGroup这个属性有什么意义?

@ShawYoung
Copy link
Author

在button 的容器内设置该属性会对button右边照成影响。
但按预料同样会受影响的左边却没有变化。

@linkser
Copy link

linkser commented Mar 5, 2016

画布就那么大。动画稍微大一点就会溢出。要解决的话就在绘制时在左右两侧预留一定的宽度。另有一个问题就是反复开关,控件 的左右两边会残留一些绘制的痕迹,关闭时右边的绿色特别明显。

@ShawYoung
Copy link
Author

这个到没注意到,明天回公司确认下。Thanks。

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