Questions tagged [fading]

Fading is the moment at which an item is slowly gaining or losing visibility (appearing or disappearing) in response to events or actions (most of the times triggered by the user).

176 questions
42
votes
7 answers

How to set the color of an Android ScrollView fading edge?

I have an Android scrollview with a white background. The fading edge is a white translucent gradient. I would like to change it be black instead of white. I have a ListView in the same project with a white background that has a black fading edge by…
Andrew Shooner
  • 1,170
  • 3
  • 11
  • 16
17
votes
3 answers

jquery add a fade to an .addClass

How do I fade .addClass in and out. Here is the link - http://www.bikramyogajoondalup.com.au/about-bikram-yoga/postures-benefits.html and here is the code - $(document).ready(function() { $('#menu li#Q_01,#menu li#Q_03,#menu li#Q_05,#menu…
Nik
  • 671
  • 1
  • 8
  • 27
15
votes
6 answers

How to make a label fade in or out in swift

I am looking to make a label fade in, in viewDidLoad(), and then after a timer is at 3 fade out. I am not familiar with the fadein or fadeout functions. How would I go about doing this?
Ty Victorson
  • 277
  • 1
  • 3
  • 11
14
votes
2 answers

How to set images for ScrollView instead-of fading edges?

I am using Horizontal Scroll View, dynamically i will add items in to that. if no. of items are more than displaying items on the screen i want to show image(arrow) at the edges ( like scroll view shows fading edges). How can i do it. just look at…
RajaReddy PolamReddy
  • 22,428
  • 19
  • 115
  • 166
11
votes
2 answers

Clean way to implement gradual fading of brightness in Android?

At the moment I have code to fade brightness adjustments which looks something like this: new Thread() { public void run() { for (int i = initial; i < target; i++) { final int bright = i; handle.post(new…
Glitch
  • 2,785
  • 1
  • 27
  • 50
9
votes
2 answers

How to make Android ScrollView fading edge always visible?

By default scrollview's fading edge is visible only if it is possible to scroll in that direction. How can I make it visible at all times? I don't want to put any drawables on top or something like that. I want to accomplish it using the builtin…
Sebastian Nowak
  • 5,607
  • 8
  • 67
  • 107
9
votes
1 answer

Fading out a whole page with jquery

So, I'm attempting to fade the page out when a user goes to another section of my website. After reading a bit on stack overflow, I have written the following code. But it just seems messy/ugly. Is there a proper way to fade out a webpage, or is it…
Catlard
  • 853
  • 6
  • 13
  • 30
8
votes
2 answers

Is it possible to change image with fade animation using same Image? (SwiftUI)

According to my logic, on tap gesture to the image it should be changed with fade animation, but actual result is that image changes without animation. Tested with Xcode 11.3.1, Simulator 13.2.2/13.3 if it is important. P.S. Images are named as…
Mikk
  • 304
  • 1
  • 3
  • 7
8
votes
7 answers

Better algorithm to fade a winform

While searching for code to fade a winform, I came across this page on the MSDN forum. for (double i = 0; i < 1; i+=0.01) { this.Opacity = i; Application.DoEvents(); System.Threading.Thread.Sleep(0); } The for loop has a non-integer…
afaolek
  • 8,452
  • 13
  • 45
  • 60
6
votes
1 answer

Fading control in C#

I'm tring to build a Control derived class which supports an Opcacity property. This control could host both text and image and will beable to fade them out and in. Here is my code: internal class FadeControl : Control { private int opacity =…
toy4fun
  • 839
  • 2
  • 14
  • 33
5
votes
3 answers

How to add fading or image transition effect using JQuery?

I have just one element on my page. I change the src attribute of this image every 7 seconds. I see the new images every 7 secs, but it would be nicer if I can add some fading or transitions effect when loading new image. Does some have simple…
kheya
  • 7,546
  • 20
  • 77
  • 109
4
votes
1 answer

Make a groupbox appear and disappear with fade in fade out animation

in the following example, I don't understand how I could make my "Live Updates" groupbox appear/disappear when the upper checkbox is checked/unchecked. I am looking for a fast fade in/fade out effect in XAML but I am a little lost..
BuZz
  • 16,318
  • 31
  • 86
  • 141
4
votes
2 answers

Android ListView Edge Fading works on a 2.2 virtual device but not on Samsung 2.2.1

On my ListActivity I get the fading edges effect when running on an Android 2.2 virtual device. However, when I use a Samsung GIO with Android 2.2.1 to run the exact same application, I get no ListView edge fading. What could be the reason? Below is…
zenperttu
  • 764
  • 1
  • 7
  • 13
4
votes
0 answers

How to set the color and modify an Android ListView on flutter?

I have a flutter ListView with a personalized theme set on it and the fading edge takes up the accent color of my theme. I would like to modify the parameters of the fading edge either to completly disable it or at least make it transparent (without…
4
votes
1 answer

Crossfading between two audio files with ffmpeg?

I have two mp3 files and want to concatenate them to one new file. However, I want only a part of each file, and I would like to create a cross fade between the two. So for example I want the first 3 minutes of a.mp3, and then during 5 seconds a…
RocketNuts
  • 9,958
  • 11
  • 47
  • 88
1
2 3
11 12