\n
works for me, like this:
<TextView android:text="First line\nNext line"
More Related Contents:
- Create Passcode view in Android
- How to make links in a TextView clickable
- How to set the part of the text view is clickable
- Set color of TextView span in Android
- Is there an easy way to add a border to the top and bottom of an Android View?
- Auto-fit TextView for Android
- Is there a way to make ellipsize=”marquee” always scroll?
- Put constant text inside EditText which should be non-editable – Android
- how to make a specific text on TextView BOLD
- Android selector & text color
- Android: Coloring part of a string using TextView.setText()?
- Different font size of strings in the same TextView
- Remove underline from links in TextView – Android
- TextView.setTextSize behaves abnormally – How to set text size of textview dynamically for different screens
- Android intercept paste\copy\cut on editText
- Android TextView : “Do not concatenate text displayed with setText”
- Convert pixels to sp
- Whatsapp Message Layout – How to get time-view in the same row
- Android Linkify text – Spannable Text in Single Text View – As like Twitter tweet
- How can you display upside down text with a textview in Android?
- android TextView: setting the background color dynamically doesn’t work
- How to change letter spacing in a Textview?
- Set font at runtime, TextView
- Scale text in a view to fit?
- Get current visible text in textview
- Android how to identify item in listview with checkbox
- Android Api 23 Change Navigation View headerLayout textview
- Apply two different font styles to a TextView
- Changing font size into an AlertDialog
- Copy text from TextView on Android