If I understand correctly, you should simply add android:clickable="true" to your list item On Monday, May 7, 2012 3:43:31 PM UTC+2, Juliano Nunes wrote: > > Hi, > > I needed to create kind of a sub-list that allows horizontal scrolling, so > I created the following structure inside my ListViewItem template: > > <HorizontalScrollView android:id="@+id/schedule_scrollView" ... > > <LinearLayout android:id="@+id/schedule_minutes" ... > > > > > </LinearLayout> > </HorizontalScrollView> > > And I added dynamically several buttons to this LinearLayout > (schedule_minutes), which uses a Background Resource to indicate the button > state. The problem is, the button is not clickable and doesn't change its > state (at least visually as configured on Background Resource). > > How can I fix 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