compile 'me.czmc.library:widget:1.0.6'
or
compile 'me.czmc.library:widget:+'
效果图如下:
该项目目标是集成一些常见的UI组件,以便于使用:
CircleImageView
圆形图片View。
EditTextWithCounter
带有统计限制字数和统计字数的EditText。
GridViewWithHeaderAndFooter
扩展原生GridView,提供类似于ListView的顶部视图和底部视图的功能。
InnerGridView
解决ScrollView或ListView嵌套GridView嵌套只显示一行的问题。
SwitchView
酷炫的切换开关
ViewPagerIndicator
viewpager索引指针
FloattingButton
悬浮在window上的按钮,可跟随手指移动
HorizontalProgressBarWithCounter
带统计数字的水平进度条
RoundProgressBarWidthCounter
带统计数字的圆形进度条
AutoLineLayout
自动换行的viewGroup,根据子view的宽度自动换行
custom/CommonAdapter&MultiItemTypeAdapter
传统listview和gridview的万能适配器--对BaseAdpater封装,起到简便的作用
传统listview和gridview的分类型适配器--根据不同类型采用不同的适配器去管理
recyclerview/CommonAdapter&MultiItemTypeAdapter
针对于recyclerview的万能适配器--对BaseAdpater封装,起到简便的作用
针对于recyclerview的分类型适配器--根据不同类型采用不同的适配器去管理
HorizontalSelector
水平选择器,滑动标题栏进行选择,回调方法onSelected(boolean isUserScroll, int index, String title)
InnerListView
解决ScrollView嵌套ListView嵌套只显示一行的问题。
SwitchView 增加颜色设定
RadiusImageView 圆角图片
ActionSheet
仿IOS 底部弹出选择器
BadgeView 提示红点
SwipeLayout 侧滑按钮
Copyright 2016 czmc, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.