Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Progressbar customization

$
0
0

I'm using a progress bar into a view. I want two things:

On iOS: change the color shown for the portion of the progress bar that is not filled. In xcode the property is trackTintColor. (it appears gray)

On Android: change the color of the progress, in iOS the tintColor property. (it appears blue).

This is my code:

"#percentBar[platform=ios]":{
    tintColor: 'white',
    min: 0,
    max: 1,
    value:0.8,
    style: Titanium.UI.iPhone.ProgressBarStyle.PLAIN,
    top: 5,
    width: '100%'
}
 
"#percentBar[platform=android]":{
    color: 'white',
    min: 0,
    max: 1,
    value:0.8,
    width: '100%',
    backgroundSelectedColor: 'white'
}

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>