Bug backgroundGradient in combination with Label / View does not work?
I want to set the backgroundGradient on a Label and View as described in documentation and seen in KitchenSink.
But both does not work for me. I'm using Titanium Mobile 1.3.0 / Android 2.1 / Ubuntu Linux as host
var view = Titanium.UI.createView({
height: 29,
top: 1,
left: 1,
right: 1,
backgroundGradient: {
type:'linear',
colors:[{color:'#C8C5BC',position:0.0},{color:'#BEBAB1',position:0.50},{color:'#B2AEA6',position:1.0}]
}
});
2 Answers
-
It would appear that the Views section in the Kitchen sink application does not include the Gradients example when running on Android, only on iPhone… I'm guessing it's not support on Android?
-
It would appear that the Views section in the Kitchen sink application does not include the Gradients example when running on Android, only on iPhone… I'm guessing it's not support on Android?