# ZoomLayout **Repository Path**: JamesYL/ZoomLayout ## Basic Information - **Project Name**: ZoomLayout - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-24 - **Last Updated**: 2023-11-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## ZoomLayout Android 视图缩放组件 实现的功能点 1. 触摸滑动及惯性滑动 2. 多指缩放 3. 双击缩放 同时处理了以下细节 1. 滑动冲突,比如将 `ZoomLayout` 放在 `ViewPager` 中 2. 事件冲突,`ZoomLayout` 和 子 `View` 都能接收事件 3. `ZoomLayout` 宽、高更新时能够自适应布局 ## 效果 ![zoomlayout.gif](https://github.com/guangmomo/ZoomLayout/blob/master/demofile/zoomLayout.gif) Download Demo [Apk](https://github.com/guangmomo/ZoomLayout/blob/master/demofile/zoomLayout.apk) ## 使用 ``` compile 'com.xlw.zoom:zoomlayout:1.0.0' ``` ``` ``` 支持的属性 属性 | 意义 ---|--- max_zoom | 最大缩放倍数 min_zoom | 最小缩放倍数 double_click_zoom | 双击缩放倍数 ## 实现原理 [简书链接](https://www.jianshu.com/p/f0710c28f061) [github 链接](https://github.com/guangmomo/ZoomLayout/blob/master/PRINCIPLE.md/)