Skip to content

Underline #5

Description

@kanilturgut

I understand why you seperated underline span as AgsUnderlineSpan, because android underlines current text in edittext without underline toggle button clicked and it breaks your editor handle methods logic.

But in this approach if you code something like customEditText.setTextHtml("something"), editor will not underline it, as Html.fromHtml (actually it is Html.withinParagraph) checks only UnderlineSpan to put tags to text.

With UnderlineSpan not AgsUnderline, some devices does not put automatic underline with some inputType filter, but other devices puts. For example, Nexus 4 (without root) works like charm, but S4 does not.

If you find a way to solve this AgsUnderlineSpan / UnderlineSpan issue, please share with us.

Activity

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