• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Android-CircleDialog: 仿IOS圆角对话框、进度条、列表框、输入框,支持横竖屏切换。 ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Android-CircleDialog

开源软件地址:

https://gitee.com/elim132/Android-CircleDialog

开源软件介绍:

Android-CircleDialog

LicenseJCenterAPI

  • 基于DialogFragment封装,已封装的对话框类型有,常规对话框、列表框、输入框、进度框;每个对话框类型也支持自定义边框圆角、背景透明度、字体大小与色值
  • 初衷是掌握知识点,此库不一定适合你的产品整体风格,当然能够适合你的项目最好不过,有建议和不足之处欢迎骚扰

知识点

全代码创建shapeselectorLayout,主要是Drawable所使用类如下:ShapeDrawableRoundRectShapeGradientDrawableClipDrawableLayerDrawableStateListDrawable

效果图

引入

 implementation 'com.mylhyl:circleDialog:5.3.7.1'

如果版本号后面有-alpha,那说明最后一个版本是预览版,可能存在bug谨慎使用,稳定版则没有-alpha后缀
例如
稳定版:implementation 'com.mylhyl:circleDialog:x.x.x'
预览版:implementation 'com.mylhyl:circleDialog:x.x.x-alpha'

下载APK体验

使用

注意

  • 依赖包:appcompat-v7cardview-v7recyclerview-v7
  • 继承基类AbsBaseCircleDialog背景为透明,自定义layout时按需求设置背景
  • v3版本开始放弃百分比适配
  • 3.0.9开始,刷新dialog界面的方法由create改为refresh
  • v4版本开始,除字体大小保持原来的sp单位,偏移量px外,其它宽、高、间距、均改为了dp单位
  • v5版本已经适配为androidx

未完成功能

  • popup在item中智能识别弹出位置

联系方式

  • 可能会因为工作忙碌原因没有及时回复,请联系我的个人微信号:48025211

License

Copyright 2017 mylhylLicensed 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.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap