It would be a pain to do it by code. You need to implement a selector and let android know which resource needs to be used when the view is pressed, enabled or focused. Here is sample example on how to achieve the same.
Thank you for your response. I see how this can help to define the look that I want to achieve. But how han I refer to the mentioned color in ListView drawable?
– Jay Sep 8 at 13:12 did you check the example at the bottom of the second link, he changes the color of text in the button, so just set your backgrounddrawable to the selector. – Ravi Sep 8 at 13:28 I realized how to do that. The problem is that I do not know wich resource the selector uses.
How can I figure out the resource id? – Jay Sep 8 at 13:45 You need to define which resource the selector uses.. for example in this case it uses the resource called testcolor1 – Ravi Sep 8 at 13:55 I got it know. Thanks for your help.
I would vote up your answer if I would be already allowed to do that – Jay Sep 87 at 9:22.
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.