Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clipped content #3

Open
gkapusta opened this issue Apr 16, 2014 · 2 comments
Open

clipped content #3

gkapusta opened this issue Apr 16, 2014 · 2 comments

Comments

@gkapusta
Copy link
Contributor

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

@gkapusta
Copy link
Contributor Author

From [email protected] on April 26, 2013 03:02:33

hi

it looks like your table created inside ZoomView (in this case it seems like you renamed it to ZoomViewUtility) is too big

it wouldn't fit in any layout, you'd probably have to use scroll view

at the moment, ZoomView supports only enlarging content, not shrinking it to fit any size.

however, it's a very good feature to consider
thanks a lot! i appreciate this!

@gkapusta
Copy link
Contributor Author

From [email protected] on March 25, 2014 04:03:07

I'm facing this issue too!
Are you going to bring zoom < 1.0 support to this widget?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant