Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3754] Android: Progress Bar should be hidden be default

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-05-10T04:50:29.000+0000
Affected Version/sRelease 1.6.2, Release 2.0.1
Fix Version/s2013 Sprint 10
ComponentsiOS
Labelsparity
ReporterJon Alter
Assigneejithinpv
Created2011-04-27T12:43:00.000+0000
Updated2017-03-17T18:44:32.000+0000

Description

When creating the a progress bar it should be hidden by default.

Comments

  1. Junaid Younus 2012-05-15

    Not sure if this has been fixed in the latest SDK, could you please provide some sample code for this, Jon? Thanks
  2. Junaid Younus 2012-05-15

       var win = Ti.UI.createWindow({
       	backgroundColor : '#fff'
       });
       
       var progressBar = Titanium.UI.createProgressBar({
       	top : 10,
       	width : 250,
       	height : 'auto',
       	min : 0,
       	max : 10,
       	value : 0,
       	color : '#fff',
       	message : 'Downloading 0 of 10',
       	font : {
       		fontSize : 14,
       		fontWeight : 'bold'
       	}
       });
       
       //progressBar.show();
       
       win.add(progressBar);
       win.open();
       
       
    Tested with 2.0.1GA2 on the iOS simulator and on a Samsung Galaxy S2, the issue still exists. You have to explicitly say progressBar.show() on iOS in order for it to show on screen. For Android, this is not required. Parity issue.
  3. jithinpv 2013-05-10

    cannot reproduce Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 iOS iPhone Simulator: iOS SDK version: 6.0
  4. jithinpv 2013-06-20

    Issue does not reproduces Tested with iOS SDK: 5.1 iOS iPhone Simulator: 5.1 Mac OS X Version 10.7.5 Titanium SDK version 3.1.1.v20130606121419 Titanium Studio, build: 3.0.1.201212181159
  5. Lee Morris 2017-03-17

    Closing ticket as the issue cannot be reproduced.

JSON Source