You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 issue reported on code.google.com by
[email protected]
on 3 Apr 2013 at 8:13The text was updated successfully, but these errors were encountered: