This happens because of the way that Android handles backgrounds. The default background for a ListView is a selector drawable defined in XML which specifies different backgrounds for different states. When you tell a ListView to have a specific background image or color then you've lost the selector that told it what to do in different states.
This happens because of the way that Android handles backgrounds. The default background for a ListView is a selector drawable defined in XML which specifies different backgrounds for different states. When you tell a ListView to have a specific background image or color then you've lost the selector that told it what to do in different states.
See the section 'State List' here developer.android.com/guide/topics/resou... And, to answer your second question, yes. If you want to change the highlight background just do so as specified in the documentation on that page above. You can define your own drawables as state lists with no problem.
Thanks for pointing me in the right direction mate. This is going to be harder than I thought but I need to tackle this. – TomaszRykala Jan 16 '11 at 22:43.
As James says, if you change your background color in your code, when the user select an item in the ListView at execution time, it doesn't highlights the item. You can fix these behavior, using the attribute drawSelectorOnTop="true" in your ListView definition. For example.
Thank you, I will try this next time! – TomaszRykala Nov 26 '11 at 9:43.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.