[TIMOB-13917] Android: Slider thumb image is masked
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | Release 3.1.0, Release 3.2.0 |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | android, image, ios, slider, thumbimage |
| Reporter | Matej |
| Assignee | Unknown |
| Created | 2013-05-19T22:34:10.000+0000 |
| Updated | 2018-02-28T20:03:26.000+0000 |
Description
When I set thumb image property in the slider, half of the thumb image disappear after I moved it to the position 0 or 100. This bug is only on Android, on iOS it is working properly.
*I can use in slider properties min/max + minRange/maxRange for a workaround ,but then I have to calculate things in the listener and if is there a lot of calculations whole slider is very slow... So is nice to have fixed slider ;)
*app.js*
var win = Ti.UI.createWindow({
backgroundColor : "white"
});
var slider = Ti.UI.createSlider({
width : '90%',
thumbImage : "KS_nav_ui.png"
});
win.add(slider);
win.open();
Attachments
| File | Date | Size |
|---|---|---|
| ios_android_slider_bug.png | 2013-05-19T22:34:10.000+0000 | 511021 |
Tested and confirmed on Samsung Galaxy S2 Android 2.3.6 with Ti SDK 3.1 GA and 3.2 CI. Works on iOS 6 simulator.