[TIMOB-7038] Android: Double click or double tap events don't work for a label which is created under a view
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | High | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2012-05-17T14:48:16.000+0000 | 
| Affected Version/s | Release 1.8.0.1, Release 2.0.0 | 
| Fix Version/s | Release 2.0.1 | 
| Components | Android | 
| Labels | n/a | 
| Reporter | Nikhil Sharma | 
| Assignee | Neeraj Gupta | 
| Created | 2012-01-09T14:35:37.000+0000 | 
| Updated | 2012-07-16T03:27:05.000+0000 | 
Description
	Double click or double tap events don't work for a label which is created under a view.  
Repro Steps:
Create a project to include the code below.
//app.js
var win = Ti.UI.createWindow({
	backgroundColor:'white'
});
var myView = Ti.UI.createView({
    height:100,
     top:50,
     width:250,
     backgroundColor:'red'
});
win.add(myView);
label= Ti.UI.createLabel({
    text: 'Double Tap or Double Click me',
    color: '#000',
    height:100,
    width:250,
    textAlign:'center'
});
myView.addEventListener('dblclick',function(e){
    Ti.API.info('Double Click Works!!!!');
    alert('Been double clicked');
});
myView.addEventListener('doubletap',function(e){
    Ti.API.info('Double Tap Works!!!!');
    alert('Been double tapped');
});
myView.add(label);
win.open();
Tested with 2.0.1GA2 on a Samsung Galaxy S2, unable to reproduce the issue. Ticket closed.
Environment used for verification - Tested with Titanium SDK: 2.1.1.v20120712160111,2.0.1GA2 Tested with Titanium Studio: 2.1.1.201207121732 Device - Android Emulator 2.3.3, Samsung Galaxy Note Machine OS - MAC 10.7.3 Unable to reproduce it.So,closing this ticket.