Skip a line in textView

0

How to skip a line in a textView in Android Studio? Or even with regard to the actual formatting of the text, leave some part in bold for example? Is there something auto-built or would I have to handle .xml?

    
asked by anonymous 24.09.2016 / 21:35

2 answers

2

I discovered how to jump the line. just use the "\ n \ n"

    
24.09.2016 / 22:13
1

You use \ n for the amount of lines you want to skip, type, if you want to skip a line: \ n, two lines: \ n \ n, three lines: \ n \ n \ nand so on! >

Regarding Bold: I use in textstyle: bold

EX.:

<TextView
            android:id="@+id/tv"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textStyle="bold"
            android:text="Teste"/>
    
25.09.2016 / 13:46