Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Textview cannot accept new line from Resources strings #758

@AbhiSNSoft

Description

@AbhiSNSoft

https://github.com/Kotlin/anko/wiki/Anko-Layouts-Examples#textview

If I use
text = "I want new line.\nHere is the new line."
this is printing as
"I want new line.
Here is the new line."

but if I use
textResource = R.string.newline
this is printing as
"I want new line.\nHere is the new line."

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