[TIMOB-18363] Android: leftTrackImage on slider is not being applied
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-02-27T20:10:59.000+0000 |
Affected Version/s | Release 3.4.0, Release 3.4.1 |
Fix Version/s | Release 4.0.0 |
Components | Android |
Labels | exalture |
Reporter | Jamie Buckley |
Assignee | Ingo Muschenetz |
Created | 2015-01-12T17:16:55.000+0000 |
Updated | 2015-03-12T21:30:24.000+0000 |
Description
Problem Description
Slider with left track image set still displays the default slider on android, this works on iOS.Sample Code
var win = Titanium.UI.createWindow({
backgroundColor : '#fff'
});
var slider = Ti.UI.createSlider({
value : 10,
min : 1,
max : 10,
left : 0,
width : '100%',
leftTrackImage:"0097A9-1.png",
});
win.add(slider);
win.open();
Image attached.
Expected Result
Custom slider should be shownActual Result
Default slider is shownAttachments
File | Date | Size |
---|---|---|
0097A9-1.png | 2015-01-12T17:16:55.000+0000 | 82 |
PR: https://github.com/appcelerator/titanium_mobile/pull/6669/files
Note to QE:
Earlier versions of the Titanium SDK implicitly enforced that both the leftTrackImage and rightTrackImage properties be specified before the properties would be honored. Beginning with Titanium SDK 4.0.0 this limitation has been removed. However it is recommended that either both or neither be specified.Verified the fix. The leftTrackImage is now applied as expected on android when both the track images are not specified. Closing. Environment: Appc Studio : 4.0.0.201503062102 Ti SDK : 4.0.0.v20150312095013 CLI : 3.5.0-dev Alloy : 1.5.1 MAC Yosemite : 10.10.2 Nexus 5 - Android 5.0 Samsung S3 - Android 4.2.2