On Android, when I tap a ListView item with a custom template, there is not depression/highlight background color change. It seems to work when I tap it in certain places - where the Labels are not present. Is there a way round this? I want the user to tap anywhere on the ListItem and have the whole item depress/ have it's backgroundColor change. It does not seem to be an issue on iOS.
Here's the Alloy .xml.
<ListView id="listView" defaultItemTemplate="conditionTemplate" onItemclick="onItemClick"> <Templates> <!-- ConditionTemplate - this is the default ListItem template --> <ItemTemplate id="conditionTemplate" name="conditionTemplate" class="list-item 1"> <View class="left-buffer 2" bubbleParent="true"> <!-- <ImageView id="userPhoto" bindId="userPhoto" class="avatar" /> --> <View class="vgroup left size 3" bubbleParent="true"> <Label id="conditionName" bindId="conditionName" class="title 4" bubbleParent="true"/> <Label id="conditionSystem" bindId="conditionSystem" class="subtitle 5" bubbleParent="true"/> </View> <View class="gray-line bottom"/> </View> </ItemTemplate> </Templates> </ListView>