[android-developers] Layout Highlight For Already Background Set

2010-02-12 Thread Sasikumar.S
Hi, Pls see the below link In that White color background is LinearLayout. How to set highlight for that LinearLayout? Now i need is when i click the White Colored Linear Layout it should highlight in blue color it should go for that onclick action. How to do that ?... Pls help me...

[android-developers] Layout Highlight

2010-02-05 Thread Sasikumar.S
Hi, Can any one know how to highlight when we touch the layout? In my program i'm adding adding a textview to Linear Layout. When user touchs the Linear Layout it should perform some action. Its all working. But when user touches the screen. Its not highlighting. So it is not looking good..

Re: [android-developers] Layout Highlight

2010-02-05 Thread haric zhu
HI Sasikumar.S, you can set a xml file as it's background like ListView default action add this -- android:background=@android:drawable/list_selector_background to your layout file 2010/2/5 Sasikumar.S sasikumar.it1...@gmail.com Hi, Can any one know how to highlight when we touch the

Re: [android-developers] Layout Highlight

2010-02-05 Thread Sasikumar.S
Thank U Haric. I got it. But one more thing is, I need to set a image to that Layout background. Then how can i set these background too...? Pls ?.. On Fri, Feb 5, 2010 at 4:58 PM, haric zhu haric@gmail.com wrote: HI Sasikumar.S, you can set a xml file as it's background like ListView