Skip to content

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

Description

@aldocano

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 ?

Activity

  1. aldocano commented on Oct 24, 2018

    @aldocano
    Author

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

  2. ISchwarz23 commented on Oct 24, 2018

    @ISchwarz23
    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

  3. ISchwarz23 commented on Oct 24, 2018

    @ISchwarz23
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions