[AC-2518] Android: Multiple line in label does not show ellipsis
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-06-25T19:41:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | android, ellipsis, label |
Reporter | Soumya Kanti Kar |
Assignee | Mauro Parra-Miranda |
Created | 2013-06-25T07:59:05.000+0000 |
Updated | 2016-03-08T07:41:34.000+0000 |
Description
When executing the below code, it does not display the ellipsis at the end of 2nd line. This issue is happening in Android.
var win = Titanium.UI.createWindow({
exitOnClose : true,
navBarHidden : true,
backgroundColor : 'black'
});
var label = Titanium.UI.createLabel({
left : '2%',
width : '33%',
height : '33dip',
color : 'white',
ellipsize : true,
wordWrap : true,
font: {
fontFamily:'Roboto',
fontSize: '13dip',
fontStyle: 'regular',
fontWeight: 'normal'
},
text : 'The quick brown fox jumps over the hungry lazy dog. The quick brown fox jumps over the hungry lazy dog.',
borderColor : 'red',
borderWidth : 1
});
win.add(label);
win.open();
Note:
The ellipsis is coming on Android 2.3.3. But once the code is executed on Android 4.0 and higher, the ellipsis is not getting displayed.
Soumya Kanti Kar, you correct that is not working on Android 4.0 and higher. I am also faceing same problem.
DUP issue.