Community Questions & Answers
Background opacity issue both with properties settings or png images
I want my View or Window (the issue concerns both) to have an 80% opacity, and I'm not able to make it work as it should (or as I think it should). **First case:** ~~~ var win = Ti.UI.createWindow({ width: Ti.UI.FILL, height:...
Reviving a Topic - Modal Windows and Opacity for FORMSHEET Modals
Hi all- I wanted to see if others have revisited this topic over the past 3 years, and have alternate solutions (much of how is in kitchen sink, and most applications that create modal popups that are smaller than an iPad screen). I am looking to open a...
TableViewRow opacity fix ?
Hi, I've been searching on some forums and websites about the TableViewRow opacity properties (seems like it's documented but don't work) and didn't found anything about a way to fix this bug. ~~~ // These tests don't work var row =...
How do I address a table's,row's,child's opacity?
With this code: ~~~ Ti.API.info(JSON.stringify(Generaltable.data[0].rows[i].children[0])); ~~~ I end up with: ~~~ {"rowText":"Weight...
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...
views, labels or buttons above transparent view
Hi, I have a container view which have opacity 0.7 it contains labels, view and buttons which should not have opacity. but thez are affected too. for example labels should be white..they are a little gray. backgroundColor of buttons are a little...
Tableview row opacity ios doesn't work
Hi all, I have a label with a background image and over it a tableview with a list of rows. I need to give the tableview rows an opacity so the label will appear and the rows still shown. How can I give a tableview row an opacity on ios? On Android its...
Possible to make the whole app transparent? (Android)
I'm looking for a way to make the whole app transparent, so that it is possible to see through to apps behind it. Or if no other app is open, just the homescreen/app drawer. I know that this can be done in java, as I have seen apps that do exactly this....
Stuck on 1.9 - HELP
Hi guys, I'm unable to switch to 2.x SDK because I can't figure out how to convert my working 1.9 code. Here's what I'm doing: I have a tableview with transparent rows of variable height based on content. - I have a tableview with background set to...
After animation return to opacity 1 not working
Thanks in advance! I´m doing a simple image slide show and when I do an animation with an image, when it finished I need to return to 100% opacity, but not work: ~~~ myimage.animate({opacity:0,duration:4000},function (){ myimage.opacity=1; }); ~~~ I...
Android setOpacity problem
On Andriod emulator, the setOpacity method doesn't yield the expected result. Instead of changing the opacity to the specified number it makes the whole object opaque; setting by direct assignment (e.g. obj.opacity = 0.2) has no effect either. Using the...
OPACITY problem android
the image is add the a view with opacity 0 and still on the screen ~~~ var win1 = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff' }); win1.open(); var view =...
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...
RGBA - backgroundColor, borderColor, shadowColor, color, etc
# RGBA values work in Titanium 1.7.2 (haven't tested others) I was adding shadows to my labels and noticed that it doesn't (to my knowledge) have shadow blur or opacity which makes shadows pretty useless for what I am trying to achieve. I decided to try...
tableview grouped transparent row backgrounds
Dear appcelerator people, i found an app where they have transparent background images in a grouped tableview (yes it's an appcelerator app :)): http://itunes.apple.com/us/app/hotel-tonight-last-minute/id407690035?mt=8 I'm trying to get it work but i...
TableViewRow and opacity
Hi, is there a way to use opacity on a TableViewRow ? There is an opacity property but I see no effect. My tableview background color is transparent. Regards
BorderColor Property Breaks Transparency
It appears that the borderColor property is breaking the transparency of objects. Below is an example where simply adding the borderColor property prevents the button from being transparent as specified by the opacity value. If that value is commented out,...
animation opacity Bug report
Testing my app and after a lot of tests I solved a little but annoying problem that I have not relieved before. new_view is a common view with opacity:0 With blank space between opacity: and it's value 1, opacity animation effect doesn't...
Opacity of labels not working (Android 1.5.x SDK)
Opacity of labels is not working on Android (1.5.x SDK)
Bug in 1.07 release with Android when setting opacity of view with border
This is an obscure issue, but in the 1.07 release for Android, if you create a view with opacity set and it has a border then the opacity will be ignored (it will be 1). Here is code to reproduce the issue: ~~~ Ti.UI.setBackgroundColor('#fff'); var win =...
Android handset menu - opacity?
is there a way to set the opacity for the android handset menu - that comes up from the bottom of the gui...when the handset menu button is pressed? thanks ~Brian
Animate BackgroundColor or Opacity of View's does not work on Android.
Has anyone been able to animate the *backgroundColor* or *opacity* property of a View on Android? The following code works fine in the iPhone simulator. Note: I am currently running this animation on a random selection of views up to 9 maximum at a given...
Setting opacity of buttons not working (Android 1.5.1 SDK)
I'm trying to set the opacity of a button in code and end in a system crash (Android 2.2, 1.5.1 SDK) after setting the opacity from 1 back to 0.3. ~~~ Titanium.UI.setBackgroundColor('#FFF'); var win1 = Titanium.UI.createWindow({ ...
Is opacity = 0 the same as hide()
Is opacity = 0 the same as hide(), and does one perform better than the other?
How to make a window transparent with titanium in android
I have tried to make a transparent window with the setting of opacity but failed. May I know how to make the window appear as semi transparent background? Below is my code. Please advice. Thanks ~~~ var w = Titanium.UI.createWindow({ opacity:0.9, ...
Making a view transparent, but text ontop not
~~~ var charsView = Ti.UI.createView({ bottom:5, left:15, zIndex:2, opacity:0.25, width:'auto', height:'auto', ...
Is it possible to change just the background opacity of a tableview row?
So the opacity property changes the whole row's opacity but is it possible to change just the background color/image's opacity; like a backgroundOpacity value? Now, I know I could create a pure custom row but it would be great/more flexible to have a...
Transparent window background with non-transparent imageView
Hi everybody, I am coding a window which needs to host a imageView. The window itself has a background image and I set the windows's opacity < 1 hence the background image could be blended into the window's background color. On top of the window I...
tab change with fade(iPhone)
hi, is it possible to fade between two 'tab'windows? if you use the 'standard' way of a tabgroub and navigate between them you have a hard 'cut' in the occurrence of the next window associated with that tab. the look i want to achieve is: by clicking a tab...
Android: borderColor + opacity = fail?
It seems opacity doesn't work when you set a borderColor to a view. It just lightens the view's color. Is this a bug or am I doing something wrong? ~~~ var about_view =...
Only application background transparent
Is is possible to make the background (window UI) of you application transparent, whilst leaving elements such as scroll bars at full opacity?
Translucent NavBar overlapping view, like Photo app
I'm building an app with a section where people can see pics in a scrollableView. I'd like this section to behave like the Photo app. When I open the window containing the view, I give it `navBarHidden:true, tabBarHidden:true` and it's ok, people can...
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...
how to create semi transparent row effect with fixed non moving table background?
Dear Experts, Can someone explained me, how to create a table with fixed non movable, non repeating background with semi-transparent row effect? What i want is when scroll the table rows background of the table say there and just rows move up and...
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...
Showing 1-40 of 40