Community Questions & Answers

Modal pop ups and opacity

I'm following the Window (stand alone) example in trying to create a modal popup (Open animation fun on kitchen sink). The example button do not inherit the transparency but when I try to use an image it does. I've tried setting the opacity to 1.0 just for...

Gradient Opacity iOS and Android

Hi people, I'm wondering if there is a solution to change the opacity of a view with a sort of gradient. Basically the opacity change in the whole view. I'm searching for a method to change the opacity - for example - from the bottom-right corner to the...

TableViewRow opacity does NOT work?

I try to set the TableView background as transparent, OK, it works, then I try to set all the TableViewRow's opacity in that TableView, but looks like opacity for TableViewRow lost controll? Man can not set this property anymore? Somebody could help?...

Slow slider

Hi, I use slider for change image opacity like this: ~~~ slider.addEventListener('change', function(e){ image.opacity = Math.round(e.value) / 100; // Between 0 - 1 }); ~~~ ,but slider is very slow. Exist some better ( Faster ) way ? Thank you very much...

Android Window opacity

Hi, I have the following window: ~~~ var win = Ti.UI.createWindow({ modal: true, navBarHidden: true, opacity: 0.7, }); ~~~ I'm testing my app in the simulator and I've notice opacity only works in Android 2.3.3, while in Android 2.2 and 4.0.3 it...

Background Color breaks changing opacity

It appears that adding the backgroundColor property to a button prevents the ability to dynamically change the opacity. Or rather, changing the opacity resets the opacity to a value of 1. I am using Android and Titanium SDK 1.8.1. The code below highlights...

Nested opacity

I have a view which has opacity 0.5 applied for a background effect, but in there are two labels with text which should NOT want to inherit the opacity (value should be 1). Is there a way to achieve this or do nested elements automatically receive their...

Animating Opacity Problems

I am trying to set a Label to animate with a duration from Opacity: 1 to Opacity: .2 (Or really anything).. Below is how I defined my Label and the animate function I ran on it. What happens is that it will animate to the correct opacity and then as soon...

Showing 1-40 of 40