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] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

