[AC-2140] Android: ListView position parity issue when using accessoryType
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-01-08T06:01:43.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | listview, parity |
Reporter | Neville Dastur |
Assignee | Ritu Agrawal |
Created | 2013-06-01T17:36:49.000+0000 |
Updated | 2016-03-08T07:41:07.000+0000 |
Description
The left and right position of items in a listview differs between iOS and Android when using accessoryType as shown in the screenshots. In this case it is set to Ti.UI.LIST_ACCESSORY_TYPE_DETAIL
So the text items on the right are UI.Labels with a right property of '5dp'
I think the Android one needs fixing as it makes more sense not to have to account for the size of detail symbols manually.
Note the lack of images on the Android version is another bug where remote images are not loaded in an ImageView. But the details need refining.
Attachments
File | Date | Size |
---|---|---|
device-2013-06-01-183653.png | 2013-06-01T17:38:13.000+0000 | 125319 |
device-2013-12-14-121030.png | 2013-12-14T06:13:23.000+0000 | 35805 |
iOS_Listview.png | 2013-06-01T17:40:10.000+0000 | 73930 |
iOS Simulator Screen shot Dec 14, 2013 12.09.35 PM.png | 2013-12-14T06:13:23.000+0000 | 74126 |
iOS Simulator Screen shot ti_cls.png | 2013-12-22T16:29:08.000+0000 | 38584 |
ti_cls_andoid_.png | 2013-12-22T16:29:08.000+0000 | 26039 |
Hi Neville, Does that happen to be from a listview sample, or is it your own code. If it's your own code, can you provide a reproducible test case in an app.js? Thanks!
Hi Daniel Using the same repo code for the listview crash bug I made a minor modification to show the above issue. [https://github.com/ClinicalSoftwareSolutions/DemoBug/tree/listview_android_crash] Neville
So to reproduce this I guess I need to build Alloy 1.2? I'm getting errors like:
Hi Daniel, yes sorry you do. But that is only because I took the short cut of using the same code base as the other bug. It isn't a Alloy 1.2 error
[~dsefton] http://developer.appcelerator.com/question/155021/how-do-i-install-alloy-any-version-or-rollbacks
Hi Neville Can you please try our latest release Ti 3.1.2 or the nightly CI build if this issue exists? Please let me know your test results so that we can review this again.
Tested this, verified to be valid.
Reproduced this issue with 3.1.3 SDK and verified that issue has been fixed in 3.2.0 GA release.