I can give u two solution . Actual solution: Set Background color for the layout with a xml that maps to different colors/images for differnet state of the View.
<selector xmlns:android=*"http://schemas.android.com/apk/res/android"*> <item android:state_pressed=*"true"* android:drawable="xxx" /> <item android:drawable=*"YYY"* /> </selector> in a xml and set this in backgroundcolor of Linear Layout. - Abu Funny Solution. use a Gridview 1 x 1 . Put he Linear Layout in that :-) On Mon, Aug 31, 2009 at 4:50 PM, Don <donal.morris...@gmail.com> wrote: > > Hi All, > Is there way to get the contents of a LinearLayout to flash when it is > pressed? The same as a ListItem flashes orange when pressed. > Best Regards, > Don > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---