0712
1.LayoutInflater的获取与使用
清楚详细
https://www.cnblogs.com/maliqian/p/3473800.html
2.
DisplayMetrics dm = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(dm);
int screenW = dm.widthPixels;// 获取分辨率宽度
offset = (screenW / 3 - bmpWidth) / 2;// 计算偏移量
Matrix matrix = new Matrix();
matrix.postTranslate(offset, 0);
img_cursor.setImageMatrix(matrix);// 设置动画初始位置
3.Matrix中preTranslate()和postTranslate()的理解
https://blog.csdn.net/programchangesworld/article/details/49078387
4.Android 加载GIF图最佳实践
5.Glide入门教程——6.播放Gif & 视频
https://www.jianshu.com/p/1697f79d1579
6.Handler,使用PostDelayed延迟执行任务
https://blog.csdn.net/e0wangluo/article/details/73284292
postDelay精确延时
https://blog.csdn.net/qingtiantianqing/article/details/72783952