Questions tagged [android-transitions]

Tag related with Android animation effects between screens or scenes

739 questions
0
votes
1 answer

Material Transitions in pre lollipop apps

I am trying to use the transitions which introduced in material design in pre - lollipop apps(Min API19). I was going through http://www.google.com/design/spec/animation/meaningful-transitions.html#meaningful-transitions-visual-continuity…
0
votes
1 answer

How to set attributes of onPendingTransition() animation programmatically

Can i set the xml atrributes of this animation for onPendingTransition() programmatically?
the_prole
  • 8,275
  • 16
  • 78
  • 163
0
votes
1 answer

Scene transition Android

I would like to create a simple scene transition using the TransitionManager and Scene framework in Android. The transition works fine when transitioning from scene1 to scene2, but does not work in the opposite direction. The idea is that a click…
Devdroid
  • 941
  • 2
  • 11
  • 23
0
votes
1 answer

How do you transition without the background moving?

I've looked around for a while and cant find the answer. How do you make a screen transition so that the background stays in place while the elements displayed move? Basically, Im trying to emulate the look for sliding through pages of apps on an…
Luke Wang
  • 143
  • 2
  • 9
0
votes
0 answers

Android shared element transition exit for fragment?

I am trying to do this kind of animation but with fragments https://i.stack.imgur.com/ky7cQ.gif I have a fragment A and Fragment B Fragment A contains a recycler view of pictures. When a picture is pressed, it will go to fragment B. Fragment B…
Ersen Osman
  • 7,067
  • 8
  • 47
  • 80
0
votes
1 answer

How to move from one lua scene to another without user input like a slide show?

How does one lua file get replaced by another lua file (like a slide show) WITHOUT user input or buttons? End of sound? Timer? For example, this coding in scene1: -- visuals positionOne = display.newImage( note1, 170, pitch1 ) -- first of the…
julianLE3
  • 85
  • 7
0
votes
0 answers

Is the 'Reveal transition' effect from Activity 1 to Activity 2 on Pre Lollipop possible?

Reveal Transition like this Ques 1: Is it possible to have exactly the above kind of screen transition on pre lollipop versions? Ques2: Can someone help me to achieve this animation through some sample code or example?
vinay vyas
  • 491
  • 1
  • 4
  • 17
0
votes
1 answer

unable to animate from fragment to activity in android

I am trying to animate fab button from fragment to activity in android. The code below works from activity to another activity but not from fragment to activity in android.How can I make it work? public class ListFragment extends Fragment { …
jason
  • 3,932
  • 11
  • 52
  • 123
0
votes
1 answer

Fragment transition with shared imageview. Wrong animation

I have MainActivity which show two fragment with shared image. public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
HotIceCream
  • 2,271
  • 2
  • 19
  • 27
0
votes
1 answer

Android TransitionDrawable not fading

I have an ImageView and I am trying to fade from one image to the next using this code: Drawable bgs[] = new Drawable[2]; public void redraw(int[][] grid) { bgs[0] = bgs[1]; bgs[1] = new GameDrawable(grid, prefs.colors); if (bgs[0] ==…
Michael Frey
  • 908
  • 2
  • 14
  • 35
0
votes
1 answer

Run scene using TransitionManager in onResume

Is it possible to automatically trigger scene change in onResume in proper way? I have a layout for the activity:
0
votes
1 answer

Is it possible to use Matrix for this Android View Rotation?

I've came across this code which works very well when applied to a view: view.setPivotX(view.getWidth()); view.setPivotY(view.getHeight() * 0.5f); view.setRotationY(90f * progress); I've tried many configuration to make it work just with Matrix and…
TacB0sS
  • 10,106
  • 12
  • 75
  • 118
0
votes
1 answer

How to load two views with different animations when activity starts in android

I've an activity with 2 Views. When an activity starts I want that 1st view should slide from TOP while 2nd view should Slide from BOTTOM. I've followed android tutorials, but the Transition is being applied to entire Activity Layout View rather…
0
votes
1 answer

PatternPathMotion Android, What exactly does it do and how do I use it?

I found this documentation on the PatternPathMotion: https://developer.android.com/reference/android/transition/PatternPathMotion.html and have questions of how to use it. If someone could show me where to find a tutorial or example or both, that…
btelman96
  • 413
  • 4
  • 11
0
votes
1 answer

Don't show transition if view is not visible

I have a list of products, if I click on one, the image of the product is transitioned into the detail screen. And if I go back, the image is transitioned back to the list. This works fine. The problem is that when I scroll down in my detail…
Robby Smet
  • 4,649
  • 8
  • 61
  • 104