[AC-6184] Documentation for density specific images on android has wrong path
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Resolved |
| Resolution | Invalid |
| Resolution Date | 2019-05-01T22:47:04.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Documentation |
| Labels | n/a |
| Reporter | Emily Feder |
| Assignee | Shak Hossain |
| Created | 2019-03-28T15:03:49.000+0000 |
| Updated | 2019-05-01T22:47:04.000+0000 |
Description
The docs on [using density specific resources on android](https://docs.appcelerator.com/platform/latest/#!/guide/Using_density-specific_resources_on_Android-section-src-29004808_Usingdensity-specificresourcesonAndroid-Platform-specificimagesFolder) has the following example code:
var myButton = Ti.UI.createButton({
backgroundImage: 'images/myButton.png'
});
The actual image path should be '/images/myButton.png'.
Hello, The above code works. There is no issue there. What SDK and Android version are you trying on? use the latest SDK version 8.0.0.GA. Thanks.