How to highlight the background of a textView

by manoj » Fri, 02 Jan 2009 05:44:28 GMT

Sponsored Links
 Hi friends,

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

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(;

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

How do I achieve my goal.

Can any one please help me.

Manoj Kumar.M.


Other Threads

1. How do I get the current image using a service

If I have a service running how can I get the current image/music/
video URI from the Gallery or another media app?


2. How to disallow task switching

Hi All,
How to disallow task switching? It is possible


3. Simple Upload Application with Images

4. passing params from ksoap2 to .net web service, always passes nulls

5. Looking for Android Developers for 6 Months contract in the US

6. Data layer best practice?

7. How to turn off the screen display?