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
GoogleCodeExporter opened this issue Mar 31, 2016 · 2 comments
Open

clipped content #3

GoogleCodeExporter opened this issue Mar 31, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

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!

Original comment by [email protected] on 26 Apr 2013 at 10:02

@GoogleCodeExporter
Copy link
Author

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

Original comment by [email protected] on 25 Mar 2014 at 11:03

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