Android 常用依赖手记

摘要:
复制build.gradle下依赖项{}中的地址。

将地址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'

免责声明:文章转载自《Android 常用依赖手记》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇visual Studio 中使用正则表达式来进行查找替换okio:定义简短高效下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

下载android的linux内核的方法

1、安装git android的linux内核可以从http://android.git.kernel.org/下载,但下载需要使用git,windows版的git可以从http://code.google.com/p/msysgit/下载,有完全安装版和便携版(portable)两个版本可供选择,不常用git的话选portable版就可以了。 下载por...

获取Android设备唯一标识码

概述 有时需要对用户设备进行标识,所以希望能够得到一个稳定可靠并且唯一的识别码。虽然Android系统中提供了这样设备识别码,但是由于Android系统版本、厂商定制系统中的Bug等限制,稳定性和唯一性并不理想。而通过其他硬件信息标识也因为系统版本、手机硬件等限制存在不同程度的问题。 下面收集了一些“有能力”或“有一定能力”作为设备标识的串码。 DE...

Android合并文件的三种方式代码

amr格式的文件头是6字节,在进行文件合并的时候要减去除第一个文件以外的其他文件的文件头。下面介绍合并文件的几种方式,并通过合并amr文件来举例介绍合并文件的具体流程。 注意:不同文件的文件头是不一样的,所以在合并的时候根据不同文件相应的减去合并文件的文件头。具体你可以学习Android开发教程。 步骤一:获取要合并的文件及创建合并后保存的文件 /**用于...

《老罗Android开发视频教程》老罗来交国庆的答卷了

     之前在博客园、开源中国、安卓巴士发表的《老罗将死,或者Android也将就换代,但是互联网的,共享,互助精神将永存》,计划出300集免费的、高质量的、全面的Android开发视频教程,得到了很多人的支持,但是同样也遭到了一些人的质疑,说老罗是空有一翻热情,肯定会半途而废的,因此老罗决定在隔一段时间就在博客园里面给大家交个答卷,也让这些人看...

android环境下的即时通讯

首先了解一下即时通信的概念。通过消息通道 传输消息对象,一个账号发往另外一账号,只要账号在线,可以即时获取到消息,这就是最简单的即使通讯。消息通道可由TCP/IP UDP实现。通俗讲就是把一个人要发送给另外一个人的消息对象(文字,音视频,文件)通过消息通道(C/S实时通信)进行传输的服务。即时通讯应该包括四种形式,在线直传、在线代理、离线代理、离线扩展。在...

【Unity游戏开发】不接SDK也能在游戏内拉起加QQ群操作?

一、引子   一般在游戏进行对外测试的时候都会有一个玩家QQ群,方便玩家反馈问题、交流游戏心得等。那么为了增加玩家加QQ群的欲望,可能会在游戏里面设计一个小功能,点击一下可以直接拉起手Q加群的操作,加了QQ群以后,也会自动下发一些小奖励刺激玩家。原本我以为要拉起手Q加QQ群的操作一定要接入相关平台的SDK才行,直到我详细地阅读了下腾讯官网的QQ群官方主页,...