GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mylhyl/Android-CircleDialog: 仿IOS圆角对话框、进度条、列表框、输入框,ad广告框,支持横竖屏切换

BranchesTags
Open more actions menu

Latest commit

 

History

349 Commits
349 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
circledialog
circledialog
 
 
docs
docs
 
 
gradle/wrapper
gradle/wrapper
 
 
preview
preview
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
config.gradle
config.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

JCenter迁移说明

JCenter服务已经宣布停止维护,对于旧版本大家可以使用阿里云镜像引用,以后新版本将会发布在JitPack

1、旧版本阿里云镜像引用方式

在项目根目录下的build.gradle文件中加入

 allprojects {
    repositories {
        maven { url 'https://maven.aliyun.com/repository/jcenter' }
    }
 }

1、新版本JitPack引用方式

在项目根目录下的build.gradle文件中加入

 allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
 }

Android-CircleDialog

License JCenter API

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

知识点

全代码创建shape、selector、Layout,主要是Drawable所使用类如下: ShapeDrawable、RoundRectShape、GradientDrawable、ClipDrawable、LayerDrawable、StateListDrawable

效果图

引入

 implementation 'com.github.mylhyl:Android-CircleDialog:5.3.8'

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

下载APK体验

使用

  • v2版本

  • v3版本

  • 教程

  • 更多参数

  • api文档

注意

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

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.

About

仿IOS圆角对话框、进度条、列表框、输入框,ad广告框,支持横竖屏切换

Topics

alertdialogalertdialogboxcircledialogdialogdialogfragmentdialogsdialogsheetiosdialogloadingmaterial-dialogsprogress-dialog

Resources

Readme
Activity

Stars

1.1k stars

Watchers

21 watching

Forks

158 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.