Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16003] Android: Density specific resources do not work

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-12-17T01:48:30.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 26, 2013 Sprint 26 Core, Release 3.2.0, Release 3.3.0
ComponentsAndroid
Labelsn/a
ReporterViktor Korol
AssigneeChris Barber
Created2013-12-15T15:49:42.000+0000
Updated2013-12-17T18:23:01.000+0000

Description

Steps to Reproduce

1) Launch Kitchen Sink. 2) Open Base UI -> Views -> Image Views -> Android drawable resource.

Actual Result

No images present on the window.

Expected Result

Images should be present on the window.

Attachments

FileDateSize
.log2013-12-15T15:50:08.000+00001340054
diagnostic7186208792590812277.log2013-12-15T15:50:13.000+000014654

Comments

  1. Allen Yeung 2013-12-16

    I can't seem to reproduce this issue. Can we get more info on this? - What version of Kitchen Sink are you using? - What version of the titanium sdk? - What version of the titanium CLI? - Which device are you using? - What is your host platform?
  2. Ingo Muschenetz 2013-12-16

    Downgrading severity until we have a reproduce able testcase.
  3. Viktor Korol 2013-12-16

    1) Latest from Titanium Studio dashboard. 2) 3.2.0.v20131210191510. 3) titanium@3.2.0-cr3 4) Various emulators & Nexus 5. 5) Windows 7 x86_64
  4. Viktor Korol 2013-12-16

    Builded apk: https://db.tt/m3mbtV43 Density resources remain in folder assets\Resources\images inside apk and don't generated corresponding drawables of cloud2.png, cloud3.png and etc.
  5. Lokesh Choudhary 2013-12-16

    Tried to reproduce & was able to reproduce the issue. I could not see the cloud images. Used 3.1.3.GA kitchensink & 3.2.0 kitchensink & both showed the presence of the issue only on windows 7 & windows 8. Environment: Appcel Studio : 3.2.0.201312151544 Ti SDK : 3.2.0.v20131216064236 Mac OSX : 10.8.5 Windows : 7 & 8 Alloy : 1.3.0-cr CLI - 3.2.0-cr3 Samsung Galaxy S4 running android 4.2.2 Nexus 5 - android 4.4
  6. Chris Barber 2013-12-17

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5129 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5130
  7. Lokesh Choudhary 2013-12-17

    Verified the fix. I can now see the cloud images in both 3.1.3.GA kitchensink & 3.2.0 kitchensink on windows 7 & 8. Closing. Environment: Appcel Studio : 3.2.0.201312162210 Ti SDK : 3.2.0.v20131216191854 Mac OSX : 10.8.5 Alloy : 1.3.0-cr2 CLI - 3.2.0-cr3 Samsung Galaxy S4 running android 4.2.2

JSON Source