1 Star 0 Fork 31

贾巨成C/Android-CircleDialog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0
# Android-CircleDialog [![License](https://img.shields.io/badge/License%20-Apache%202-337ab7.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![JCenter](https://img.shields.io/badge/JCenter-5.0.0-blue.svg)](https://bintray.com/mylhyl/maven/circleDialog/_latestVersion) [![API](https://img.shields.io/badge/API-16%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=16) * 基于`DialogFragment`封装,已封装的对话框类型有,常规对话框、列表框、输入框、进度框; 每个对话框类型也支持自定义边框圆角、背景透明度、字体大小与色值 * 初衷是掌握知识点,此库不一定适合你的产品整体风格,当然能够适合你的项目最好不过,有建议和不足之处欢迎骚扰 # 知识点 全代码创建`shape`、`selector`、`Layout`,主要是`Drawable`所使用类如下: `ShapeDrawable`、`RoundRectShape`、`GradientDrawable`、`ClipDrawable`、`LayerDrawable`、`StateListDrawable` # 效果图 <img src="preview/gif.gif" width="240px"/> # 引入 ```xml 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体验](https://www.90pan.com/b2136007) # 使用 * [v2版本](https://github.com/mylhyl/Android-CircleDialog/tree/v2) * [v3版本](https://github.com/mylhyl/Android-CircleDialog/tree/v3) * [教程](https://github.com/mylhyl/Android-CircleDialog/wiki) * [更多参数](https://github.com/mylhyl/Android-CircleDialog/tree/master/circledialog/src/main/java/com/mylhyl/circledialog/params) * [api文档](https://mylhyl.github.io/Android-CircleDialog/) # 注意 * 依赖包:`appcompat-v7`、`cardview-v7`、`recyclerview-v7` * 继承基类`AbsBaseCircleDialog`背景为透明,自定义layout时按需求设置背景 * v3版本开始放弃百分比适配 * 3.0.9开始,刷新dialog界面的方法由`create`改为`refresh` * v4版本开始,除字体大小保持原来的`sp`单位,偏移量`px`外,其它宽、高、间距、均改为了`dp`单位 * v5版本已经适配为`androidx` # 未完成功能 * popup在item中智能识别弹出位置 # 联系方式 * 可能会因为工作忙碌原因没有及时回复,请联系我的个人微信号:`48025211` License ------- Copyright 2017 mylhyl 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.

简介

仿IOS圆角对话框、进度条、列表框、输入框,支持横竖屏切换。 基于DialogFragment封装,支持自定义边框圆角、背景透明度、字体大小与色值等。 展开 收起
Android
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Android
1
https://gitee.com/jiajucheng/Android-CircleDialog.git
git@gitee.com:jiajucheng/Android-CircleDialog.git
jiajucheng
Android-CircleDialog
Android-CircleDialog
master

搜索帮助

D1d26d21 1850385 D1bef801 1850385