Androd系统依赖

androidx.appcompat

android系统最新支持包

implementation 'androidx.appcompat:appcompat:1.1.0'

constraint-layout

ConstraintLayout作为google钦定的代替LinearLayout及RelativeLayout的布局
https://www.jianshu.com/p/ae47b5e66373

implementation 'com.android.support.constraint:constraint-layout:1.1.3'

support-v4

implementation 'com.android.support:support-v4:28.0.0'

recyclerview

implementation 'com.android.support:recyclerview-v7:28.0.0'

implementation 'androidx.recyclerview:recyclerview:1.2.0-alpha01'

implementation 'androidx.recyclerview:recyclerview:1.1.0'

常用配置依赖

implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
    exclude group: 'com.android.support', module: 'support-annotations'
})
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'

support-annotations

注解(Annotations)就是让你给代码检查工具Lint等给一个提示,让它们注意检查这些微妙的代码问题。这些注解就好像元数据标签(mentadata tags)一样和变量,参数,返回值绑定在一起,检查它们是否合法。当运行代码检查工具的时候,注解就会帮助你检查比如空指针,资源类型冲突等问题。
https://www.jianshu.com/p/73110a4b70f8

implementation 'com.android.support:support-annotations:25.0.1'

multidex

解决 64K 限制,方法数超过65535解决方法
https://blog.csdn.net/fan7983377/article/details/73850282

implementation 'com.android.support:multidex:1.0.2'

percent

Google2015年8月推出了一个全新的百分比布局兼容函数库
https://blog.csdn.net/sw5131899/article/details/53995796

implementation  'com.android.support:percent:24.2.0'
compile 'com.android.support:percent:24.2.0'

cardview

implementation 'com.android.support:cardview-v7:26.+'
compile 'com.android.support:cardview-v7:26.+'

ToolBar

ToolBar修改menu菜单中的文字颜色.
http://blog.csdn.net/chenguang79/article/details/49276371
http://blog.csdn.net/mchenys/article/details/51533689

implementation 'com.android.support:appcompat-v7:28.0.0'

design

implementation 'com.google.android.material:material:1.0.0'
implementation 'com.android.support:design:26.+'
compile 'com.android.support:design:26.+'

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 178,132评论 25 709
  • afinalAfinal是一个android的ioc,orm框架 https://github.com/yangf...
    passiontim阅读 15,818评论 2 45
  • 一个安静的下午,一个恬淡的下午,突然想写点什么来纪念这平凡的一天。 大二了,来到这里已经快要两年整。校园里的一切...
    离不开你_96414阅读 426评论 0 1
  • 下次改番外多更哟!
    纯莹一一北原莹子阅读 137评论 0 1
  • 我居然在玩手游,真的是想不到。怎么会这样了,可遥远的另一个声音却说:哪应该是怎么样的了?好吧,事实就是我在玩,事实...
    素沙阅读 474评论 0 0

友情链接更多精彩内容