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

Setting a dynamic width for horizontal scrolling #184

Open
mandretis opened this issue Jul 25, 2019 · 0 comments
Open

Setting a dynamic width for horizontal scrolling #184

mandretis opened this issue Jul 25, 2019 · 0 comments

Comments

@mandretis
Copy link

This is surely an amazing library and i'm interested in the pro version, but i'm not sure if it does support dynamic width or if i'm just using it the wrong way.

What i want to do is, render all my views with 'wrap-content' as their widths so it can be scrolled horizontally. (To work exactly as .net gridview).

I made some progress with it (by Wrapping a horizontal scrollview around it) but the problem is that the table has to have a fixed size, either match_parent or 1000dp for example.

So Is there a correct way for the table to calculate its width dynamically according to its content's width(preferably by the 'longest row content') ? or perhaps columns to be recycled if 'match_parent' is used to imitate a horizontal scroll behavior?

Thanks in advance.

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

No branches or pull requests

1 participant