Hi friends,

I am using LinearLayout. I am adding some texts to this layout (as a
list).

When I click the particular text, its background should be changed to
some colour.

I am using the code like:

View text = parent_layout1.findViewById(R.id.text);
text.setBackgroundColor(R.color.solid_blue);

But the background is not highlighted, showing only blank screen.

How do I achieve my goal.

Can any one please help me.

Thanks,
Manoj Kumar.M.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to