Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SherlockGougou committed Apr 22, 2022
1 parent dcd952b commit 3ddd99e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- 支持自定义查看原图时的百分比View;
- 支持BMP格式的图片;
- 支持Android 12;
- 支持自定义预览界面;

# 用法
### 一、添加依赖
Expand Down Expand Up @@ -167,6 +168,7 @@ public class MyAppGlideModule extends AppGlideModule {
|setIndicatorShapeResId|设置顶部指示器背景shape|默认自带灰色圆角shape,设置为0时不显示背景|
|setShowErrorToast|设置是否显示加载失败的Toast|默认false,不显示|
|setZoomTransitionDuration|设置图片缩放动画时长|默认200ms|
|setPreviewLayoutResId|设置自定义的预览页面布局id|默认R.layout.sh_layout_preview|
|start|开启看图|最后调用|

##### 3:自定义多种配置:
Expand Down

0 comments on commit 3ddd99e

Please sign in to comment.