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

自定义View之重写系统自带控件 #19

Open
lyxxman opened this issue Aug 4, 2018 · 0 comments
Open

自定义View之重写系统自带控件 #19

lyxxman opened this issue Aug 4, 2018 · 0 comments

Comments

@lyxxman
Copy link
Owner

lyxxman commented Aug 4, 2018

一、介绍

 重写系统自带控件常见的操作,例如:
        1.重写TextView,实现多行展开/收缩效果
        2.重写ImageView实现,实现圆角图片效果的CircleImageView或者添加放大缩小操作的PhotoView
        (https://github.com/hdodenhof/CircleImageView)
        (https://github.com/chrisbanes/PhotoView)
        3.重写Button,实现fancybuttons效果(https://github.com/medyo/Fancybuttons)
 都是通过继承系统控件,重写相关代码,增加新的效果,本文以CircleImageView为例介绍重写系统自带控件常见操作。
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

1 participant