[TIMOB-20267] Android: Slider track not show under transaprent image
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-06-08T18:26:42.000+0000 |
Affected Version/s | Release 5.1.2, Release 5.1.1 |
Fix Version/s | Release 6.2.0 |
Components | Android |
Labels | android, slider, thumbImage |
Reporter | CREATIVE KAIZEN |
Assignee | Frankie Merzadyan |
Created | 2016-01-18T20:31:00.000+0000 |
Updated | 2017-06-12T20:20:55.000+0000 |
Description
Slider track is not show under transparent thumbImage:
*How to reproduce*:
var slider = Ti.UI.createSlider({
min: 1,
max: 51,
value: 51,
backgroundImage: 'background.png',
thumbImage: 'thumb.png'
});
*Expected behaviour*:
Track should be visible under transparent image. It was working in past version.
*Actual behavior*:
The track is not showed under image no matter if it is transparent or not.
!Zrzut ekranu 2016-01-18 o 21.19.42.png|thumbnail!
Attachments
Hello, We have tested this issue but couldn't reproduce this as a bug in our environment. Slider track is showing as expected under transparent image. Please find the link below to see the output. [Simulator output](http://postimg.org/image/48rdyhqdj/) [Emulator output](http://postimg.org/image/odexmkkmd/) *Testing Environment:* Appcelerator Studio, build: 4.4.0.201511241829 Appcelerator Command-Line Interface, version 5.1.0 Titanium Command-Line Interface, CLI version 5.0.5, Titanium SDK version : 5.1.1GA, 5.1.2 GA Mac OS X : 10.11.1 (EI Capitan) Node.js Version = 0.12.7 iOS Simulator: iPhone5s(iOS 9.1) Android Emulator: Samsung Galaxy S4-4.4.4 *Test Case:*
*Steps to test:* 1. Create a classic project and replace app.js with the above code 2. Place a transparent image inside resource directory 3. Run the app Result: Observe that slider track is shown as expected under the transparent image. Thanks.
1. On iOS there is no problem. 2. I followed all steps and your code on Android cause same effect as reported. !Zrzut ekranu 2016-01-20 o 16.09.05.png|thumbnail!
Hello, I could reproduce this issue on physical device but not on emulator. Following is the device information: Nexus 7(Android version: 6.0.1) *Steps to reproduce*: As mentioned in my earlier post. *Actual behavior*: Slider track is not showed under transparent image. *Expected behavior*: Slider track should be visible Thanks.
Hello, I could reproduce it on other device: Sony Xperia Z2 (Android 5.1.1). I also found that such error occurs with older version of application (few months old I guess), so it is not new bug. And have you tested on Android Emulator or GenyMotion Emulator - there might be a reson why you couldn't reproduce. Regards
master: https://github.com/appcelerator/titanium_mobile/pull/8863
Verified fix in SDK Version 6.2.0.v20170612114319. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/8863