Questions tagged [transition]

DO NOT USE! THIS TAG IS AMBIGUOUS. Try to use a less ambiguous tag like [css-transitions], [android-animation] or [ios-animations] if possible.

4024 questions
194
votes
14 answers

Activity transition in Android

How can I define the transition between two activities for Android 1.5 and later? I would like an activity to fade in.
hpique
  • 112,774
  • 126
  • 328
  • 461
115
votes
10 answers

Can I change the Android startActivity() transition animation?

I am starting an activity and would rather have a alpha fade-in for startActivity(), and a fade-out for the finish(). How can I go about this in the Android SDK?
coneybeare
  • 33,248
  • 21
  • 128
  • 182
107
votes
17 answers

"From View Controller" disappears using UIViewControllerContextTransitioning

I got one problem and i have described it below. I am using UIViewControllerContextTransitioning for custom transitions. I have 2 view controllers, first view controller and second view controller. Now I want to add second view controller on first…
NiravPatel
  • 3,270
  • 2
  • 18
  • 31
99
votes
9 answers

Invoke a callback at the end of a transition

I need to make a FadeOut method (similar to jQuery) using D3.js. What I need to do is to set the opacity to 0 using transition(). d3.select("#myid").transition().style("opacity", "0"); The problem is that I need a callback to realize when the…
Tony
  • 9,552
  • 18
  • 77
  • 131
95
votes
25 answers

Unbalanced calls to begin/end appearance transitions for

I have this problem when I simulate my app, its not an error or a warning but it appears in my console, has anyone ever experienced this before?
C.Johns
  • 10,107
  • 18
  • 99
  • 155
63
votes
14 answers

Bug with transform: scale and overflow: hidden in Chrome

Working with CSS3 property transform: scale, I found interesting issue. I wanted to make a little zoom effect for pictures. But when I used for the parent div overflow: hidden and border-radius, the child div extended the beyond of parent…
Jake Blues
  • 985
  • 1
  • 8
  • 12
55
votes
4 answers

CSS Auto hide elements after 5 seconds

Is it possible to hide element 5 seconds after the page load? I know there is a jQuery solution. I want to do exactly same thing, but hoping to get the same result with CSS transition. Any innovative idea? Or am I asking beyond the limit of css…
Alfred
  • 843
  • 2
  • 8
  • 12
49
votes
4 answers

CSS Transition for only one type of transform?

Is it possible to animate (using transitions) only one type of css transform? I have css: cell{ transform: scale(2) translate(100px, 200px); transition: All 0.25s; } Now, I want only scale to be animated. In this case I could use…
cimak
  • 1,261
  • 3
  • 11
  • 18
46
votes
5 answers

How to change all the activity transitions at once in Android application?

I know I can change activity transition using the following code right after startActivity() or finish() activity.overridePendingTransition(R.anim.activity_close_enter, R.anim.activity_close_exit); But if I have ten activities in my app, I have to…
Gen Liu
  • 635
  • 1
  • 6
  • 7
46
votes
2 answers

Vue.js page transition fade effect with vue-router

How to achieve a fade effect page transition between vue-router defined pages (components)?
Kaspi
  • 2,894
  • 3
  • 18
  • 28
44
votes
6 answers

CSS3 transition on click using pure CSS

I'm trying to get an image (a plus symbol) to rotate 45 degrees to create a cross symbol. I have so far managed to achieve this using the code below but its working on hover, I wanted to have it rotate on click. Is there a simple way of doing so…
user2498890
  • 1,400
  • 4
  • 20
  • 52
43
votes
4 answers

Android - How to animate an activity transition when the default back button is pressed

In my activity, I have a button with the following click listener that is working great: final ImageButton startOverButton = (ImageButton) findViewById(R.id.start_over_button); startOverButton.setOnClickListener(new View.OnClickListener(){ …
41
votes
1 answer

Start Activity with an animation

I am trying to start an activity with a custom transition animation. The only way I have found out so far to do this (without using onPendingTransition() in the previous activity) is to use a custom theme on the activity and define either…
adityad
  • 473
  • 1
  • 6
  • 9
40
votes
3 answers

Implement page curl on android?

I was surfing the net looking for a nice effect for turning pages on Android and there just doesn't seem to be one. Since I'm learning the platform it seemed like a nice thing to be able to do is this. I managed to find a page here:…
Hamid
  • 4,200
  • 10
  • 40
  • 71
39
votes
4 answers

Animate selector/state transitions

I have a simple selector for my ListView
C.d.
  • 9,504
  • 6
  • 37
  • 50
1
2 3
99 100