Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13917] Android: Slider thumb image is masked

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.1.0, Release 3.2.0
Fix Version/sn/a
Componentsn/a
Labelsandroid, image, ios, slider, thumbimage
ReporterMatej
AssigneeUnknown
Created2013-05-19T22:34:10.000+0000
Updated2018-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

FileDateSize
ios_android_slider_bug.png2013-05-19T22:34:10.000+0000511021

Comments

  1. Daniel Sefton 2013-05-20

    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.

JSON Source