Coder Social home page Coder Social logo

android-zoom-view's People

Contributors

drecom-jenkins avatar

Watchers

 avatar  avatar

android-zoom-view's Issues

Views not appeared when added dynamically

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 reported on code.google.com by [email protected] on 10 Apr 2014 at 11:46

Crash on view inflating: missing constructor

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: <init> [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 reported on code.google.com by [email protected] on 19 Feb 2013 at 9:14

Child View Blur at Move or Zoom

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 reported on code.google.com by [email protected] on 20 Nov 2013 at 9:45

View changes its position slightly at zoomended.

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? 

Original issue reported on code.google.com by [email protected] on 12 Jun 2013 at 12:35

Attachments:

clipped content

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 reported on code.google.com by [email protected] on 3 Apr 2013 at 8:13

zoom out less than 1f

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 reported on code.google.com by [email protected] on 10 Feb 2014 at 3:13

Use of ZoomView

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 reported on code.google.com by [email protected] on 29 Jan 2013 at 9:40

Drag limits for zoom view content

1. Set max zoom factor to 4
2. Double click the image to enlarge to maximum
3. Scroll the image inside the videw

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-scree
n-limits-while-using-pinch-zoom-and-drag-ge

http://stackoverflow.com/questions/4227451/android-imageview-setting-drag-and-pi
nch-zoom-parameters

Original issue reported on code.google.com by [email protected] on 4 Sep 2013 at 8:46

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.