Skip to content

HTML tables rendering issue #10

Open
@ouachman

Description

@ouachman

Hello,

HTML tables do not seem to be correctly rendered.
I see 2 major issues when you have more than 1 line:

  1. A space is added between each row
  2. The last row is repeated. Let's say you have 6 rows in your table, you will see 6 rows, but the last row will be repeated multiple times, replacing the rows that should be displayed.

There is also an issue where table header is not centered horizontally.

In the screenshot below, you will see 3 components in that order: a webview, a textview using the native HTML.fromHtml method, a text view using htmlSpanner.

Capture d’écran 2019-06-19 à 14 55 15

Otherwise the library works great, but without tables support unfortunately webview is the only alternative and it's not as fast and lightweight as a TextView.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions