Help, ListView selector issue?

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

Help, ListView selector issue?

Postby playlee » Mon Feb 15, 2010 4:00 pm

The same adapter, in Activity and ListView when item selected, the highlight is not as long as the row width, but in ListActivity, it's fine, I am so confuse about this, is there any setting is not right?

Image

Image
playlee
Freshman
Freshman
 
Posts: 2
Joined: Mon Jan 25, 2010 6:56 am

Top

Postby tim.choi » Sat Feb 20, 2010 11:28 am

You may need to set the layout_width="fill_parent" and gravity="left" in the resource if do it in activity.

Could you post your code here?
tim.choi
Developer
Developer
 
Posts: 25
Joined: Fri Feb 19, 2010 4:30 pm

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 10 guests