Anybody help me!

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Anybody help me!

Postby huypq » Wed May 13, 2009 4:17 pm

Anybody help me understand difference between simple_list_item_1 and and android.R.layout.simple_list_item_2
huypq
Once Poster
Once Poster
 
Posts: 1
Joined: Wed May 13, 2009 4:12 pm

Top

Postby JonnySnip3r » Wed May 13, 2009 10:36 pm

Wish i could help you dude because nobody else will in the forum
JonnySnip3r
Developer
Developer
 
Posts: 30
Joined: Wed Apr 08, 2009 1:23 pm

Postby iPaul Pro » Fri May 15, 2009 9:25 pm

android.R.layout.simple_list_item_1 is used to format your list with one TextView in each row. This text is large, white and centered vertically.

android.R.layout.simple_list_item_2 is used to display 2 TextViews in each row. The first (android.R.id.text1) is formatted the same as in list_item_1, and the second (android.R.id.text2) is smaller, gray (#CCCCCC) and under "text1".

Please refer to this thread: http://www.anddev.org/queue_and_display ... t5338.html
iPaul Pro
Developer
Developer
 
Posts: 33
Joined: Sun Mar 15, 2009 9:01 pm

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 5 guests