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 <[email protected]> wrote:

> 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 <[email protected]>
>
>> 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..
>>
>> Any one know how to highlight?..
>>
>> --
>> Thanks & Regards
>> Sasikumar.S
>>
>> --
>> 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]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Best Regards
>
> Haric
>
>  --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Thanks & Regards
Sasikumar.S

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