tags:

views:

196

answers:

1

In my Android app, I have a LinearLayout View that contains other views. The LinearLayout is clickable, but when it is clicked, it does not flash orange like it should. How can I get it to flash?

+1  A: 

I think you need to define 2 states for your layout if it is not natively defined for it. Have a look here if you want, it explains how to do it for a button for instance.

Sephy
You need to prefix the schema with xmlns: in that example.
Lars D