polidea / android-zoom-view Goto Github PK
View Code? Open in Web Editor NEWAndroid zooming view
License: MIT License
Android zooming view
License: MIT License
From [email protected] on April 10, 2014 13:46:33
What steps will reproduce the problem? 1.Create Zoomable View
2.Add new view dynamically from code.
3.Observe the screen What is the expected output? What do you see instead? >Subviews added dynamically should be displayed What version of the product are you using? On what operating system? >>I am using code from zip provided. Please provide any additional information below.
Original issue: http://code.google.com/p/android-zoom-view/issues/detail?id=8
From [email protected] on November 20, 2013 10:45:00
Thanks for your jar.
I am fetching one issue when I will zoom or move, Child objects get blur for some milliseconds.
May you help me on that pls?
Original issue: http://code.google.com/p/android-zoom-view/issues/detail?id=6
Hi,
I have to plot images based on x & y co-ordinate with following conditions -
How I can use this library.
I'm using custom view , in that I have click events! when I implement this zoom view, click event triggered before the zoom ! failed to zoom becz I have dialog to popup on click event.
From [email protected] on February 10, 2014 16:13:28
How difficult would it be to add zoom reduction < 1.0f?
Currently my initial view is about 3 times screen width and I'd like to be able to zoom out from initial zoom
Many thanks in adance
Original issue: http://code.google.com/p/android-zoom-view/issues/detail?id=7
Is there a sample of how to use this library?
From [email protected] on September 04, 2013 10:46:27
Scrolling should be limited to the physical view bounds of the image, so for example, if the top of the enlarged image reaches the physical view top zooming should stop.
I tried various options, however I could not get any of these solutions working with your implementation. Could you provide me with a solution? http://stackoverflow.com/questions/7532128/how-to-keep-an-image-inside-the-screen-limits-while-using-pinch-zoom-and-drag-ge http://stackoverflow.com/questions/4227451/android-imageview-setting-drag-and-pinch-zoom-parameters
Original issue: http://code.google.com/p/android-zoom-view/issues/detail?id=5
Is there a way to find the coordinates of a point in the zoomed in state relative to the view port? So for example if a point is x,y with respect to the visible screen in the zoomed out state and we zoom in by a factor of 5, what would be the new coordinates of the point?
Hello and thank you for this great widget,
I have a problem with ZoomView and ScrollView,
When I put ZoomView intro scrollView it does zoom in but the scrollable area gets smaller and the user can not scroll for example to the top or the bottom of scrollView. It also happens when I put scrollview into the zoomable area like this:
View v = ((LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE)).inflate(R.layout.zoomablelayout, null, false);//zoomablelayout contains scrollview
RelativeLayout.LayoutParams params=new RelativeLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.FILL_PARENT);
v.setLayoutParams(params);
ZoomView zoomView = new ZoomView(this);
zoomView.setLayoutParams(new RelativeLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.FILL_PARENT));
zoomView.addView(v);
RelativeLayout main_container = (RelativeLayout) findViewById(R.id.main_container);
main_container.addView(zoomView);
Thank you.
From [email protected] on January 29, 2013 22:40:51
My question is quite simple, how to ue ZoomView ?
I have put the jar in my buildpath, but after ?
When I tried this into myview.xml:
<ZoomView>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginBottom="5dip"
android:src="@drawable/plan" />
</ZoomView>
It crashes.
Original issue: http://code.google.com/p/android-zoom-view/issues/detail?id=1
Surface view is not zooming with this library
From [email protected] on April 03, 2013 10:13:58
What steps will reproduce the problem? 1. Place view in zoomview What is the expected output? What do you see instead? I expect to automatically adjust the whole layout but it clipped some part of the layout.
This is my sample code.
TableLayout table = new TableLayout(this);
for (int x = 0; x < 10; x++) {
TableRow row = new TableRow(this);
for (int i = 0; i < 10; i++) {
CheckBox c = new CheckBox(this);
row.addView(c);
}
table.addView(row, new TableLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
}
ZoomViewUtility zoomView = new ZoomViewUtility(this);
zoomView.addView(table);
LinearLayout main_container = (LinearLayout) findViewById(R.id.main_container);
main_container.addView(zoomView);
Thanks
Original issue: http://code.google.com/p/android-zoom-view/issues/detail?id=3
I have applied this zoomview to gridview.How is it possible to stop the zoom in double tapping,because it activates the single click events
Hi, this is not a real bug, I think is more a tweak. If I add new views dinamically to your ZoomView, everything works fine. Pan and zoom works correctly. But what I see is that these views are only DRAWN inside the new position rather then MOVED. Infact the original view always stays at the same position, with its hit areas. In that way I'm not able to interact with them because I should touch its original position. Do you have any suggestion to fix this?
Thanks
Hi, ZoomView is very good, I like it very much. But there is a problem, that when I add more than one views into ZoomView, only the first one will display. While I want all of them display. Could you help me? Thank you very much!
From [email protected] on June 12, 2013 14:35:34
First of all..Thank you for this amazing and efficient library.
I have attached ZoomView class with little modification.
I wanted to catch all the methods from listener and existing implementation was returning them but sometimes zoom ended was not detected.So i have merged single and double touch events in one and now it is working like a charm..
The only problem is not every time but most of the time view changes its little position on zoom ended time.
Can you help me with this?
Attachment: ZoomView.java
Original issue: http://code.google.com/p/android-zoom-view/issues/detail?id=4
From [email protected] on February 19, 2013 10:14:03
What steps will reproduce the problem? 1. Include the ZoomView in an existing layout, for example as a FrameLayout child.
2. Run the application.
3. Crash. What is the expected output? What do you see instead? I expect the ZoomView to be placed inside it's parent view. Exception thrown instead:
java.lang.RuntimeException: Unable to start activity ComponentInfo
-> Caused by: android.view.InflateException: Binary XML file line #7: Error inflating class pl.polidea.view.ZoomView
-> Caused by: java.lang.NoSuchMethodException: [class android.content.Context, interface android.util.AttributeSet]
The problem is that ZoomView does not provide alternative constructors that accept layout parameters. I fixed adding these two:
public ZoomView(Context context, AttributeSet attrs) {
this(context, attrs, 0);
}
public ZoomView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
}
Now it look to work well.
Original issue: http://code.google.com/p/android-zoom-view/issues/detail?id=2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.