{"id":15040966,"url":"https://github.com/martinwithaar/pinchtozoom","last_synced_at":"2025-04-14T06:37:38.775Z","repository":{"id":57717914,"uuid":"87588036","full_name":"martinwithaar/PinchToZoom","owner":"martinwithaar","description":"Android's ImageView pinch-to-zoom made easy","archived":false,"fork":false,"pushed_at":"2019-06-06T15:22:05.000Z","size":1061,"stargazers_count":110,"open_issues_count":12,"forks_count":27,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-27T20:22:31.982Z","etag":null,"topics":["android","android-app","android-library","imageview","pinch-to-zoom"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/martinwithaar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-07T21:23:41.000Z","updated_at":"2024-04-27T09:39:52.000Z","dependencies_parsed_at":"2022-08-24T03:10:21.767Z","dependency_job_id":null,"html_url":"https://github.com/martinwithaar/PinchToZoom","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinwithaar%2FPinchToZoom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinwithaar%2FPinchToZoom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinwithaar%2FPinchToZoom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinwithaar%2FPinchToZoom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martinwithaar","download_url":"https://codeload.github.com/martinwithaar/PinchToZoom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248836325,"owners_count":21169370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-app","android-library","imageview","pinch-to-zoom"],"created_at":"2024-09-24T20:45:20.530Z","updated_at":"2025-04-14T06:37:38.734Z","avatar_url":"https://github.com/martinwithaar.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Maven Central](https://img.shields.io/badge/Maven%20Central-0.1-blue.svg)](https://mvnrepository.com/artifact/com.bogdwellers/pinchtozoom/0.1)\n[![Android Arsenal](https://img.shields.io/badge/Android_Arsenal-PinchToZoom-brightgreen.svg)](https://android-arsenal.com/details/1/5575)\n\n# PinchToZoom\nAndroid's ImageView pinch-to-zoom made easy\n\n## Sample app\n\u003ca href='https://play.google.com/store/apps/details?id=com.bogdwellers.pinchtozoom\u0026pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'\u003e\u003cimg alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' width=\"223\" /\u003e\u003c/a\u003e\n\n## Get it\nAdd this line to your *build.gradle*'s dependencies:\n```\ncompile 'com.bogdwellers:pinchtozoom:0.1'\n```\n\n## Overview\nPinchToZoom for Android is a simple yet feature complete library for adding pinch-to-zoom functionality to an *ImageView*. It has sleek easing animations that make it stand out in quality and ease of use.\n\n### Features\n* Pinch-to-zoom\n* Double-tap to quickly zoom-in and out\n* Drag while zoomed in\n* Animated drag \u0026 zoom release easing\n* Does not extend the *ImageView* class so is usable with custom *ImageView* implementations\n* Fully customizable\n\n## Integrate\nAdding pinch-to-zoom functionality to your *ImageView* is easy as this:\n```java\nImageView imageView = (ImageView) view.findViewById(R.id.image);\nimageView.setOnTouchListener(new ImageMatrixTouchHandler(view.getContext()));\n```\n\n## Customization\nThe *ImageMatrixTouchHandler* class has multiple getter/setter methods that allow for changing the behavior and animation settings.\n\n### Javadoc\nConsult the Javadoc at https://martinwithaar.github.io/PinchToZoom/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinwithaar%2Fpinchtozoom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinwithaar%2Fpinchtozoom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinwithaar%2Fpinchtozoom/lists"}