Android 最佳实践
Android 最佳实践
此篇文章主要用来记录一些在日常Android开发中比较好用的一些库或者方法
1:TextView相关
- 通用TextView的封装:https://github.com/lygttpod/SuperTextView
- 带动画的文字:https://github.com/hanks-zyh/HTextView
- 一个倾斜的TextView:https://github.com/HeZaiJin/SlantedTextView
- 轮播的TextView: https://github.com/rosenpin/FadingTextView
- 部分文字上下滚动的TextView: https://github.com/sdsmdg/RotatingText
- BadgeTextView: https://github.com/matrixxun/MaterialBadgeTextView
2.Button相关
- 点赞动画按钮:https://github.com/ChadCSong/ShineButton
- 圆形加载:https://github.com/dmytrodanylyk/circular-progress-button
- 开关按钮:https://github.com/zcweng/SwitchButton
- 带动画渐变的按钮:https://github.com/dmytrodanylyk/android-morphing-button
- 滑动按钮:https://github.com/MAXDeliveryNG/slideview
2.流式布局
- 自定义Recyclerview的manager实现:https://github.com/BelooS/ChipsLayoutManager
3.选择器相关
- 通用行较强的:https://github.com/Bigkoo/Android-PickerView
4.Android 停靠边界的view
- https://link.juejin.im/?target=https%3A%2F%2Fgithub.com%2Fyhaolpz%2FFloatWindow
5.带扩展效果的视图容器
- https://github.com/florent37/ExpansionPanel
6.卡片效果的视图
- https://github.com/vipulasri/TicketView
7.Dialog最佳实践
- https://www.jianshu.com/p/526fcf3e8db3
- https://github.com/orhanobut/dialogplus
8.网络相关
- https://github.com/orhanobut/wasp 统一实现方案
- https://github.com/romainguy/kotlin-math kotlin绘图数学帮助类
9.辅助工具
- 日志工具:https://github.com/orhanobut/logger
10.数据存储
- 键值对存储:https://github.com/orhanobut/hawk
2.数据库存储:ormLite - 支持断点续传的文件下载库:https://github.com/MindorksOpenSource/PRDownloader
- 该库提供了一种将敏感数据加密到原生 .so 库的简单方法。
https://github.com/MEiDIK/Cipher.so - https://github.com/Tencent/MMKV 鹅厂的键值对存储
11.通用帮助类
- https://github.com/Blankj/AndroidUtilCode/blob/master/subutil/README-CN.md
12.动画库
- https://github.com/dev-labs-bg/transitioner 视图到视图的过度动画
A library for dynamic view-to-view transitions - https://github.com/florent37/MyLittleCanvas 方便添加绘图效果的库
- UI效果库 https://github.com/wasabeef/awesome-android-ui
13.Android中阴影和外观效果
- 在线制作.9图效果https://inloop.github.io/shadow4android
- 动态阴影
- https://juejin.im/post/5a93943c5188257a76634c4d
- https://link.juejin.im/?target=https%3A%2F%2Fgithub.com%2Fiammert%2FScalingLayout
- https://juejin.im/entry/58d75fb8570c350058da3b24
- 图片阴影
1.https://github.com/yingLanNull/ShadowImageView/blob/master/READEME_CN.md - 视图高度和阴影
- https://juejin.im/post/58b58a4d128fe10065eae4b0
- 给view设置轮廓:
ViewOutlineProvider viewOutlineProvider = new ViewOutlineProvider() { public void getOutline(View view, Outline outline) { // 可以指定圆形,矩形,圆角矩形,path outline.setOval(0, 0, view.getWidth(), view.getHeight()); } };
Android 最佳实践相关推荐
- fir.im Weekly - 2016 年 Android 最佳实践列表
2016 年已经过去一半,你在年初制定的成长计划都实现了吗? 学海无涯,技术成长不是一簇而就的事情.本期 fir.im Weekly 推荐 王下邀月熊_Chevalier的 我的编程之路--知识管理与 ...
- android系统功耗优化(2)---Android最佳实践之性能 - 电池续航时间优化
Android最佳实践之性能 - 电池续航时间优化 Doze和App Standby的优化(API23) 参考地址:http://developer.android.com/training/moni ...
- Android最佳实践之性能 - 电池续航时间优化
Doze和App Standby的优化(API23) 参考地址:http://developer.android.com/training/monitoring-device-state/doze-s ...
- android最佳实践:网络 电池 压缩
翻译此篇文章,总共加起来有6个小时.有些英文长句,里面包含的各种从句,需要借助翻译软件才勉强理解,但是其实文章中还是会有大量不是特别流畅的语言,有两个地方需要提高,一是写作的语言组织表达能力.二是一个 ...
- 2016里一些Android最佳实践列表——Opinionated
本文是一篇属于Opinionated的文章,只是代表了作者的个人观点,笔者看到Medium有两人发了都是关于最佳实践的Checklist,就把二者集成了下,并且加入了一些个人的看法,基本的知识点分布方 ...
- [转]Android最佳实践之:StrictMode介绍
[IT168技术]最新的Android平台中(Android 2.3起),新增加了一个新的类,叫StrictMode(android.os.StrictMode).这个类可以用来帮助开发者改进他们编写 ...
- Android最佳实践之UI
为多屏设计(一) - 支持多个屏幕尺寸 参考地址:http://developer.android.com/training/multiscreen/index.html Android UI设计提供 ...
- android 最佳实践,Android开发最佳实践(四)
大多数时候,侧滑菜单都是从左到右滑出的,但是我们也可以做到从右往左滑出,只需要在DrawerLayout的菜单布局LinearLayout里面修改一下margin的相关属性即可: 9)Tabs and ...
- 提升Android开发效率的最佳实践
本文属于Android入门与最佳实践系列,有兴趣的可以围观笔者的前一篇关于Android实践建议的文章:2016里一些Android最佳实践列表--Opinionated 原文地址 软件工程师的工作效 ...
最新文章
- ​一文看懂数据清洗:缺失值、异常值和重复值的处理
- Field XXXX input value is longer than screen field-BDC
- PHP代码审计基础手册
- 77 行代码实现 ABAP ALV 中的双击事件处理
- 如何理解Java的类变量、成员变量、常量、类属性、实例属性、字段(field)、成员方法、类方法
- 字符串连接“+”int、char、string
- 华为Mate 40 Pro维修价来了:这个部件最贵,够买一部顶级旗舰
- c语言删标点,C程序中文标点惹的祸,你可长点儿心吧
- RTSP客户端模拟器(TCP方式,Python实现)
- 什么是JavaScript垃圾回收?
- python 私有属性一个_和两个_的区别_python-面向对象-13-私有属性
- lua32位和64位字符串和Uint之间的转换
- PHP复习第三天-文件上传
- jquery图片延迟加载 及 serializeArray、serialize用法记录
- excel打开csv乱码解决------------为什么pycharm里面csv不乱码,excel里面却乱码了
- 资源---2020考研---英语网站---资料3(考研英语,英语学习。宣言:自从用了这个英语网站,七大姑八大姨开始担心他家孩子比不过我了~~~~~~~~~FT中文网)
- 【小5聊】2021年度总结,回顾 2021,展望 2022
- Linux:关于设置PS1提示符输入长命令格式出现的问题及解决
- 2021-07-24博物馆展览馆应用蓝牙AOA高精度定位导航导览的真实商用案例介绍
- u-boot-2012.04.01移植到TQ2440(七):添加分区信息并启动jffs2文件系统