10个Android开源个性化View控件

来源:互联网 发布:程序员加班傻 编辑:程序博客网 时间:2024/05/02 01:46

10个Android开源个性化View控件


在本文中,小编整理了10个Android开源项目中不错的个性化View控件,相信有你喜欢的。一起来Enjoy吧!

1.SlideAndDragListView

支持ListView的Item的拖动排序、左右滑动事件,可自定义左右滑动显示文字、图标、位移,同时支持onItemClick、onItemLongClick等监听器,提供丰富的回调接口。

项目地址:https://github.com/yydcdut/SlideAndDragListView
Demo 地址:

https://github.com/yydcdut/SlideAndDragListView/blob/master/apk/sdlv.apk?raw=true


2.PinnedHeaderExpandableListView

Android中,大家都用过ListView,ExpandableListView等,也许你还用过PinnedHeaderListView,但是如果我说PinnedHeaderExpandableListView,你听过吗?

它是一个ExpandableListView,但是它的头部可以固定,其次,在它的上面还有一个头部可以来回伸缩。一起来感受下吧!

项目地址:
https://github.com/singwhatiwanna/PinnedHeaderExpandableListView


3.CustomFastScrollView

ListView 快速滑动,同时屏幕中间 PopupWindows 显示滑动到的 item 内容或首字母。

项目地址:
https://github.com/nolanlawson/CustomFastScrollViewDemo


4.ListViewAnimations

ListViewAnimations是一个开放源代码的Android库,使开发人员能够轻松地创建列表视图与动画。随意使用这一切你想要的。

项目地址:
https://github.com/nhaarman/ListViewAnimations


5.SwipeMenuListView

针对 ListView item 的侧滑菜单

项目地址:
https://github.com/baoyongzhang/SwipeMenuListView


6.PullToZoomInListView

一款Android定制的ListView,滑动 ListView 时使其 HeaderView 跟随滑动缩放。

项目地址:
https://github.com/matrixxun/PullToZoomInListView


7.CalendarListview

实现每个月一行日历效果的 ListView

项目地址:
https://github.com/traex/CalendarListview


8.PullSeparateListView

到顶部或底部时拉动,item分离效果。

项目地址:
https://github.com/chiemy/PullSeparateListView


9.ExtractWordView

一个可以提取单词的 ListView,支持"放大镜"效果。

项目地址:
https://github.com/jcodeing/ExtractWordView


10.WaterDropListView

模仿 iOS 下拉刷新“水滴”效果,支持下拉刷新和上拉加载。

项目地址:
https://github.com/THEONE10211024/WaterDropListView


文章源自:慕课网【http://www.imooc.com/】转载请标明出处

0 0