[TIMOB-2233] Android: Support Alternate Resource Specifiers
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:58:29.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 M03 |
Components | Android |
Labels | android, feature |
Reporter | Don Thorp |
Assignee | Bill Dawson |
Created | 2011-04-15T03:14:20.000+0000 |
Updated | 2011-04-17T01:58:29.000+0000 |
Description
The density qualifiers "low" | "medium" | "high" are not
sufficient to deal with display sized resources. Add support in
android/images to specify other directories to be processed. Note:
Special directory naming might be required to force processing
unless we limit that folder to only contain processed images.
Resources/android/images
.
See http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources"> Resource Naming for conventions.
The goal is to allow the developer to easily specify images and have the names mangled correctly across all resource folders for Titanium Android apps.
(from [e6fc0024d14bd4a50344302770bd717343f0b13d]) [#2233 state:fixed-in-qa] The android/images folder now supports folders with names like res-xx-xx-xx (etc) where those xx's represent the specifiers available in the Android spec at http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources"> http://developer.android.com/guide/topics/resources/providing-resou.... This is in addition to still supporting simple high/medium/low,which are just for density. https://github.com/appcelerator/titanium_mobile/commit/e6fc0024d14bd4a50344302770bd717343f0b13d"> https://github.com/appcelerator/titanium_mobile/commit/e6fc0024d14b...
Test is KitchenSink Base UI -> Views -> Image Views -> Android drawable resource.
in that case this bug is closed. Thanks Bill. Titanium SDK version: 1.5.0 (12/10/10 09:14 0c31e15)
(from [ab21f15926b94e61c716a5aa63819b9d212c3973]) [#2233] Test in Kitchen Sink for resource images in folders starting with 'res-'. https://github.com/appcelerator/titanium_mobile/commit/ab21f15926b94e61c716a5aa63819b9d212c3973"> https://github.com/appcelerator/titanium_mobile/commit/ab21f15926b9...