Skip to content
This repository was archived by the owner on Mar 26, 2019. It is now read-only.
This repository was archived by the owner on Mar 26, 2019. It is now read-only.

Is there a way to force line height ? #18

@prouland

Description

@prouland

Hello here.

I tried to force the line height in the case of a vertical spanned grid recycler view. On creating the ViewHolder, I set a new SpanLayoutParams with a computed height (here we try to have a specific number of line matching the recycler height).

But items are drawn with a height matching the width of a one-span-sized item.

Is there a way to achieve this with this SpannedGridLayoutManager ?

Thanks by advance.

Edit: just to know, the same methos of forcing items line height works fine with a classic GridLayoutManager.

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