Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5257] Android: Setting width/height of listView to SIZE stopped working

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2017-11-06T10:25:05.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid
ReporterMohamad Alhajj
AssigneeYordan Banev
Created2017-10-04T12:03:40.000+0000
Updated2017-11-30T09:36:27.000+0000

Description

After upgrading to Titanium SDK 6.2.2.GA we faced an issue with all listviews in our app, for which setting ListView height and width to Ti.UI.SIZE stopped working in Android and the listView fills the screen. On Titanium SDK 6.1.2.GA we didn't face this issue, and its not affected on iOS, its only replicated on android devices. Your action on this please, cause it affects all the design of pop's in our app. It should be like !Screen Shot 2017-10-04 at 3.02.47 PM.png|thumbnail! but its showing like that on android Thanks

Attachments

FileDateSize
Screen Shot 2017-10-04 at 3.02.31 PM.png2017-10-04T12:03:35.000+000066717
Screen Shot 2017-10-04 at 3.02.47 PM.png2017-10-04T12:03:10.000+000055735

Comments

  1. Yordan Banev 2017-10-06

    [~malhajj] Thank you for the ticket! I was able to reproduce the issue, but unfortunately I can't propose a workaround for it. It has been addressed and a fix is coming in the next release.
  2. Mohamad Alhajj 2017-10-06

    Thanks Yordan, Will it be fixed in titanium sdk version 6.3.0? or is there an issue in it where I can track?. Thanks, Sent from JIRA Mobile
  3. Yordan Banev 2017-10-09

    You can track this PR: https://github.com/appcelerator/titanium_mobile/pull/9421
  4. Mostafizur Rahman 2017-11-02

    Hello [~malhajj], 
Just passing a follow up here. Are you able to get that sorted out using the latest SDK 6.3.0.GA?  Please let us know if you need more help with this issue. Regards
 Axway Appcelerator Support
  5. Sharif AbuDarda 2017-11-04

    The PR mentioned above is merged in 7.0.0. Can you please test. Thanks.
  6. Mohamad Alhajj 2017-11-05

    Thanks for fixing this issue, it is confirmed that it is resolved in Titanium SDK version 6.3.0.GA Sent from JIRA Mobile
  7. David Fox 2017-11-30

    Is this issue definitely resolved in 6.3.0? If so, I don't think the fix is working for all use-cases. I'm still experiencing the exact issue described in this ticket.
  8. Yordan Banev 2017-11-30

    [~dfoxinator] Would you be able to provide a sample app that has the issue?

JSON Source