Android 常用依赖手记

将地址copy于build.gradle(Module:app)下的dependencies{}内。

AS3.1后compile改为api

UI篇

  1. FloatingActionBarMenu
    compile 'com.github.clans:fab:1.6.4'
[示例](http://www.cnblogs.com/Mr-quin/p/8583697.html)
  1. IRecyclerView--扩展类
    IRecyclerView 经典/酷炫 刷新,更多,头尾视图
    compile 'com.github.Aspsine:IRecyclerView:0.0.5'
  1. MaterialDesignLibrary
    控件都是遵循了 Google Material Design 设计规范开发出来,
    例如有: Flat Button, Rectangle Button, CheckBox, Switch,
    Progress bar circular indeterminate
    compile 'com.nineoldandroids:library:2.4.0'
    compile 'com.github.navasmdc:MaterialDesign:1.5@aar'
  1. MaterialDialog
    Material Dialogs 是一个可高度定制易用, 符合 Material Design 风格的 Dialogs
    The core module contains all the major classes of this library, including MaterialDialog.
    You can create basic, list, single/multi choice, progress, input, etc. dialogs with core.
    compile 'com.afollestad.material-dialogs:core:0.9.4.5'
The *commons* module contains extensions to the library that not everyone may need. This includes the

ColorChooserDialog, FolderChooserDialog, the Material Preference classes, and MaterialSimpleListAdapter/MaterialSimpleListItem.

    compile 'com.afollestad.material-dialogs:commons:0.9.4.5'
  1. Observablescrollview
    上划联动
    实现拥有 Material Design 应用视觉体验的界面外观,
    支持ListView, ScrollView, WebView, RecyclerView, GridView组件
    compile 'com.github.ksoichiro:android-observablescrollview:1.6.0'
  1. ZDepthShadowLayout---阴影
  compile 'com.github.ShogoMizumoto:ZDepthShadowLayout:1.0.4'
  1. CircleImageView---带边框的圆形视图
    compile 'de.hdodenhof:circleimageview:2.1.0'
  1. Banner--图片轮播控件
    compile 'com.youth.banner:banner:1.4.9' 
  1. PhotoView
    支持 Pinch 手势自由缩放, 支持双击放大/还原, 支持平滑滚动
    compile 'com.github.chrisbanes:PhotoView:1.2.5'
  1. MaterialDrawer侧滑菜单
    compile('com.mikepenz:materialdrawer:5.9.4@aar') {
        transitive = true
    }
  1. ViewPagerIndicator---指示器
    compile 'com.github.JakeWharton:ViewPagerIndicator:2.4.1'
  1. Bootstrap--- Android版的Bootstrap
    compile 'com.beardedhen:androidbootstrap:2.3.1'
  1. SwipeLayout---左右滑动,可删除条目
    compile 'com.daimajia.swipelayout:library:1.2.0@aar'
  1. AndroidSlidingUpPanel
    显示面板控件
    在底部显示部分控件,可上划,
    初始显示区域高度小于等于68dp
    compile 'com.sothree.slidinguppanel:library:3.3.1'
  1. MaterialViewPager
    一个简单易用 Material Design 风格的 ViewPager 库
    compile ('com.github.florent37:materialviewpager:1.2.1@aar'){
        transitive = true;
    }
  1. Android-Ultra-Pull-To-Refresh
    非常强大的下拉刷新库
    功能甚至比 SwipeRefreshLayout 强大
   compile 'in.srain.cube:ultra-ptr:1.0.11'
  1. AppIntro
    快速搭建漂亮酷炫的引导页库
    compile 'com.github.apl-devs:appintro:v4.2.0'
  1. ShowcaseView
    非常适合用于对用户进行第一次使用进行指导的库
    compile 'com.github.amlcurran.showcaseview:library:5.4.3'
  1. Calligraphy
    简化 Android 应用使用自定义字体的类库
    compile 'uk.co.chrisjenx:calligraphy:2.3.0@aar'
  1. Material
    Material 是将 Material Design 风格控件封装在该库当中,
    目前封装有Progress, Button, Switch, Slider, Spinner, Text Field, TabPageIndicator, SnackBar, Dialog, BottomSheetDialog, Dynamic theme
    compile 'com.github.rey5137:material:1.2.4'
  1. RippleEffect
    实现在 Android 任何组件点击出现 Material Design 的波纹效果
    向下兼容到 Android API9
    compile 'com.github.traex.rippleeffect:library:1.3'
  1. SmoothProgressBar
    酷炫进度条
    实现可定制, 平滑动画的水平滚动进度条库
    compile 'com.github.castorflex.smoothprogressbar:library:1.1.0'
    compile 'com.github.castorflex.smoothprogressbar:library-circular:1.1.0'
  1. UltimateRecyclerView
    RecyclerView(advanced and flexible version of ListView), 包括了下拉刷新, 加载更多, 多种动画, 空数据提示, 拖动排序, 视差处理, 工具栏渐变, 滑动删除, 自定义floating button, 多种刷新效果, scrollbar, sticky header, 多 layout 支持等等元素
    compile 'com.marshalchen.ultimaterecyclerview:library:0.7.2'
  1. MaterialEditText
    就职于 Flipboard 的员工 扔物线 开发的, 在 AppCompat v21 中也提供了 Material Design 的控件 EditText, 可是由于比较难用, 没有提供设置颜色的 Api, 于是就产生这个第三方库
    compile 'com.rengwuxian.materialedittext:library:2.1.4'
  1. Side-Menu.Android
    提供翻页动画效果的侧边菜单
    compile ('com.github.ozodrukh:CircularReveal:2.0.1@aar') {
        transitive = true;
    }
    compile 'com.github.yalantis:Side-Menu.Android:1.0.1'
  1. SystemBarTint
    实现沉浸式状态栏库, 适用于 Android 系统 4.4 其以上的版本
    compile 'com.github.open-android:SystemBarTint:v1.0.0'
  1. NumberProgressBar
    带简约性感数字显示的进度条库
    compile 'com.daimajia.numberprogressbar:library:1.4@aar'
  1. SwipeBackLayout
    支持屏幕上下左右滑动返回上层 Activity, 关闭当前 Activity
    compile 'me.imid.swipebacklayout.lib:library:1.0.0'
  1. android-gif-drawable
    支持 gif 显示的 view, 用 jni 实现的, 编译生成 so 库后直接 xml 定义 view
    compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.8'
  1. SmartTabLayout
    自定义的 Tab title strip, 基于 Google Samples 中的 android-SlidingTabBasic 项目
    compile 'com.ogaclejapan.smarttablayout:library:1.6.1@aar'
    compile 'com.ogaclejapan.smarttablayout:utils-v4:1.6.1@aar'
    compile 'com.ogaclejapan.smarttablayout:utils-v13:1.6.1@aar'
  1. SweetAlert
    清新文艺, 快意灵动的甜心弹框, 灵感来源于 JS 版
    compile 'cn.pedant.sweetalert:library:1.3'
  1. KenBurnsView
    you can change the duration and the interpolator of transitions and pause/resume them.
    compile 'com.flaviofaria:kenburnsview:1.0.7'
  1. UserBottomTabBar---简单的底部导航
    compile 'com.github.zhaolei9527:UseBottomTabBar:v1.0.3'
  1. JPTabBar---多功能底部导航
    compile 'com.jpeng:JPTabBar:1.2.5'
  1. emojiconize---表情控件
    compile 'io.github.rockerhieu:emojicon:1.4.2'
  1. Badgeview---类似QQ的拖拽效果
    compile 'q.rorbin:badgeview:1.1.2'
  1. 底部导航 Bottom navigation
compile 'com.ashokvarma.android:bottom-navigation-bar:1.3.0'
  1. Glide图片加载
compile 'com.github.bumptech.glide:glide:3.7.0'
  1. Dragger
 compile 'com.github.ppamorim:dragger:1.2'

动画篇

  1. ListViewAnimations 列表框架
repositories {
	mavenCentral()
}
dependencies {
	compile 'com.nhaarman.listviewanimations:lib-core:3.1.0@aar'
	compile 'com.nhaarman.listviewanimations:lib-manipulation:3.1.0@aar'
	compile 'com.nhaarman.listviewanimations:lib-core-slh:3.1.0@aar'
}
  1. NineOldAndroids 简单的动画库
    compile 'com.nineoldandroids:library:2.4.0'
  1. Android-flip 翻页效果
android-flip-master
  1. AndroidViewAnimations 强大的动画组件
    compile 'com.android.support:support-compat:25.1.1'
    compile 'com.daimajia.easing:library:2.0@aar'
    compile 'com.daimajia.androidanimations:library:2.3@aar'
  1. Material-Animations
    Activity 之间的跳转, Fragment 与 Fragment 之间的跳转,以及各个 View 变化前后的过渡动画
    Material-Animations-master

  2. Rebound
    一个弹性动画库, 可以让动画看起来真实自然, 像真实世界的物理运动带有力的效果, 使用的参数则是 Facebook 的 origami 中使用的

    compile 'com.facebook.rebound:rebound:0.3.8'
  1. AndroidImageSlider
    为ViewPager图片滑动提供多种动画效果, 还可以轻易为ViewPager加载网络图片
    compile 'com.daimajia.androidanimations:library:1.0.3@aar'
    compile 'com.daimajia.slider:library:1.1.5@aar'
  1. AVLoadingIndicatorView
    库含有各种各样漂亮的加载动画效果
    compile 'com.wang.avi:library:2.1.3'
  1. Lottie---json动画视图
compile 'com.airbnb.android:lottie:2.2.0'

工具

  1. AndroidTools
    转自http://blog.csdn.net/dongdong230

  2. XFrame

从小的功能做起,只做必要的封装,让开发更加简单

———— XFrame

compile 'com.youth.xframe:xframe:1.1.2'
posted @ 2018-03-16 16:46  秦川德利齐  阅读(363)  评论(0编辑  收藏  举报