TextView doesn't display all the text

前端 未结 2 536
無奈伤痛
無奈伤痛 2021-01-26 14:55

In my app I can\'t see in my notification all the text I display. I put \\n but this doesn\'t help me and I don\'t understand why.

this is proba.xml

<         


        
2条回答
  •  孤独总比滥情好
    2021-01-26 15:14

    By default, TextViews are single-line (TextView documentation). You can make them multi-line by adding android:singleLine="false" to your proba.xml.

提交回复
热议问题