# ExtendImageView **Repository Path**: xtim/ExtendImageView ## Basic Information - **Project Name**: ExtendImageView - **Description**: auto extand ImageView for Android - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-21 - **Last Updated**: 2021-04-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ExtendImageView auto extand ImageView for Android 可以自动扩展的ImageView,主要用于界面跳转的时候图片自动扩展 支持任意大小任意位置的扩展 最小SDK为Android 3.1 ![image](https://github.com/h3clikejava/ExtendImageView/blob/master/xxx.gif) Code 引入 ``` compile 'h3c.extendimageview:library:0.1' ``` 使用示例 ``` iv.setPosition(location[0], location[1] - mActionBarSize - statusBarHeight); // 设定初始位置 iv.setImageBitmap(bmp); iv.setDuration(5000);// 动画时长 // iv.start(new Rect(150, 250, 750, 850));// 指定位置 iv.start(null);// 全屏 ```