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

Can the table fit to the specified view without expanding to scroll in view? #165

Open
aldocano opened this issue Oct 24, 2018 · 3 comments

Comments

@aldocano
Copy link

I need to create a table but i dont need the table to be scrollable in the view, but i need that the table fits the specified width, height ?

@aldocano
Copy link
Author

Also can you suggest me on how to display this type of json ?
https://pastebin.com/JHzGiUUL

@ISchwarz23
Copy link
Owner

Hi @aldocano,

for the width it is the default behavior to be not scrollable. If you want to have the height fixed, you can use either a fixed height value (e.g. 200dp) or a relative height (like MATCH_PARENT). If the content is bigger than the parent, the table will make the content scrollable.

Best regards,
Ingo

@ISchwarz23
Copy link
Owner

Regarding your question about showing the sent json data inside the table:

Of cause it is possible to show it in the table. You can also add some custom styling to it. But I don't think it makes sense to clarify this here, as it is a very project specific question.
If you need support please give me some information about how I should get in direct contact with you.

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

2 participants