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
Open
Description
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
Labels
No labels
Activity
tanks007 commentedon Aug 27, 2019
@AbhiSNSoft , are you able to preview your anko DSL with anko support?
If yes please provide the anko plugin, IDE, kotlin and SDK versions.
AbhiSNSoft commentedon Aug 27, 2019
No, I cannot preview my anko DSL with anko support.
Anko plugin: 0.10.8
IDE: 3.4.1
Kotlin: 1.3.10
SDK versions : 27