Is it possible to change the transparency of an AlertDialog?
I have an AlertDialog popping up but I can see a bunch of text through it on the window behind it because the AlertDialog is just a little too transparent. I have tried changing the opacity and transparency to 1.0 but it doesn't seem change anything.
var Alert = Titanium.UI.createAlertDialog({
opacity:'1.0',
transparency: '1.0',
message:'Do you want to do this?',
buttonNames: ['OK','Cancel']
});
How can you change the transparency of an AlertDialog?
1 Answer
-
I don't think you can change it, it does not have an opacity property however if it is just not published you should be able to do Alert.opacity = '0.5'; and it will change. (its opacity not transparency). But like I said before I don't think you can set it.