Hey guys, I’m currently learning some electronic stuffs and opening a new blog for it.
You can join to share knowledge with me.
Happy New Year 2012……
Hope Android will grow far better than now 🙂
A simple trick to set line-break (new-line character insertion) in TextView:
<TextView android:id="@+id/tvContent" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="false" />
Now just insert new-line character to have a line-break in your view.
textView.setText("First line \nSecond line \nThird line");