How do you know it isn't clickable?  Did you try adding an onClick
listener?

Just because a view is clickable, does NOT mean it will change
background colors when clicked.  You have to use <state> to change the
backgrounds when something is focused, pressed, etc.

-Matt

On Jul 8, 5:52 am, dxw_es <dxephonwi...@gmail.com> wrote:
> Hey everyone..... I noticed something odd. I have a listview with
> custom BaseAdapter, and getView() inflates a layout. On 1.6 SDK (I've
> been developing on a G1), if I set android:clickable="true" on the
> layout, then the item is NOT clickable (but otherwise the item is
> clickable). Is this the correct behavior? It seems backwards to me.
>
> Furthermore, no matter now matter how i set android:clickable for the
> same layouts using 2.2 SDK (run using emulator), the layout always is
> clickable... eh? I'm really bothered by this.

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

Reply via email to