Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24901] Android: List disclosure indicators increases size from SDK 5.5.1.GA to SDK 6.1.1.v20170615113917

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2017-08-14T16:32:44.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, regression, titanium
ReporterJulian Mountford
AssigneeJoshua Quick
Created2017-06-20T07:59:25.000+0000
Updated2017-08-14T16:32:44.000+0000

Description

List disclosure indicators an Android display far too large when using Titanium SDK 6.1.1.v20170615113917. The indicators are probably around twice the size they used to display when using SDK 5.5.1.GA. The attached image shows a screenshot of the bug in a test app using Titanium SDK 6.1.1.v20170615113917 I've taken some example code from the Appcelerator docs and simplified it slightly to show how to reproduce the issue. The Titanium SDK used to test this was 6.1.1.v20170615113917. It is also a bug in Titanium SDK 6.1.0.GA. It is not a bug in Titanium SDK 5.5.1.GA. {noformat} var win = Ti.UI.createWindow({backgroundColor: 'white'}); var listView = Ti.UI.createListView(); var tasks = [ {id: 'trash', name: 'Take Out the Trash'}, {id: 'dishes', name: 'Do the Dishes'}, {id: 'doggie', name: 'Walk the Dog'} ]; var data = []; for (var i = 0; i < tasks.length; i++) { data.push({ properties: { itemId: tasks[i].id, title: tasks[i].name, accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_DISCLOSURE, color: 'black' } }); } var section = Ti.UI.createListSection(); section.setItems(data); listView.sections = [section]; win.add(listView); win.open(); {noformat}

Attachments

FileDateSize
Screen Shot 2017-06-20 at 08.48.02.png2017-06-20T07:48:53.000+0000121571

Comments

  1. Julian Mountford 2017-06-30

    This is also a bug in Titanium 6.1.1.GA. It's not limited to disclosure indicators either, the same problem exists with Ti.UI.LIST_ACCESSORY_TYPE_CHECKMARK. Tested on Google Pixel XL, Android 7.1.2. When the same app is built with Titanium 5.5.1.GA, all is well.
  2. Joshua Quick 2017-08-07

    [~jmountford], this issue has been resolved in Titanium 6.1.2 (see [TIMOB-24174]), which has been recently released. Please give that version a go.
  3. Joshua Quick 2017-08-14

    Issue was fixed in Titanium 6.1.2. See case: [TIMOB-24174]

JSON Source