Archive

Posts Tagged ‘new’

A new blog open up..

January 24, 2012 2 comments

Hey guys, I’m currently learning some electronic stuffs and opening a new blog for it.

You can join to share knowledge with me.

http://tronixino.wordpress.com/

Categories: Of Diary Tags: , , ,

Happy New Year 2012 !!!

January 1, 2012 2 comments

Happy New Year 2012……

Hope Android will grow far better than now 🙂

Happy New Year 2012

Happy New Year 2012

 

Android Happy New Year 2012 :)

 

Pete Houston

Categories: Of Diary Tags: , , ,

Set line-break in TextView

July 15, 2011 2 comments

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");

Have fun!

Cheers,
Pete Houston