forked from MikeOrtiz/TouchImageView
-
Notifications
You must be signed in to change notification settings - Fork 0
Adds touch functionality to Android ImageView.
License
jianggest/TouchImageView
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Android: TouchImageView Created by: Mike Ortiz Contributions by: * Patrick Lackemacher * Babay88 * @ipsilondev Date: 2/17/2012 ---------------------- Adds panning, pinch zoom, double tap zoom, and fling to Android ImageView. Usage: ---------------------- Place TouchImageView.java in your project. It can then be used the same as ImageView. Example: TouchImageView img = (TouchImageView) findViewById(R.id.img); img.setImageResource(R.drawable.img); If you are using TouchImageView in xml, then you must provide the full package name, because it is a custom view. Example: <com.example.touch.TouchImageView android:id="@+id/img” android:layout_width="match_parent" android:layout_height="match_parent" /> API: ---------------------- // Set the max zoom multiplier. Default value: 3. setMaxZoom(float max); // Set the min zoom multiplier. Default value: 1. setMinZoom(float min);
About
Adds touch functionality to Android ImageView.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published