Questions tagged [shared-element-transition]

A shared elements transition determines how views that are shared between two activities transition between these activities.

A shared elements transition determines how views that are shared between two activities transition between these activities.

https://developer.android.com/training/material/animations.html

435 questions
0
votes
0 answers

Android shared element transition between two list items

I have two activities. Both contains a recycler view. I want to switch from activity1 to activity2 with a shared element transition. Is it possible? As far as I know i cant get reference of the destination element before onBindViewHolder(). Is there…
dumb_terminal
  • 1,815
  • 1
  • 16
  • 27
0
votes
1 answer

Android shared element transtion from one activity to another

So i have recycler view that holds images that are downloaded from the internet. I have a onClick listener for that images that executes a new activity. I would like to transit the image that was clicked to antoher activity. I tried it already…
Luke
  • 1
  • 1
  • 3
0
votes
1 answer

Final position visible during SharedElementTransition using RecyclerView

I'm using a SharedElementTransition when opening a new Activity. The shared element is in a RecyclerView in ActivityA (starting Activity), and also in a RecyclerView in a Fragment in ActivityB (new Activity). The animation works mostly as expected,…
karl
  • 3,544
  • 3
  • 30
  • 46
0
votes
1 answer

Start an activity with a shared element from custom view

I want to create a animation between two Activities with a image as shared element, see Customize Activity Transitions My problem: In the source activity the image is drawn on a canvas of a custom view :-( Is there a way to use this image as a…
0
votes
1 answer

Android Material Design vs ContentObserver

I will try to explain my question as best. Along my search on where to register / unregister my ContentObserver I see multiple answer saying that it should be at onResume / onPause or onStart / onStop but not in onCreate / onDestroy. Let say I had…
0
votes
1 answer

What the heck is going on with this animation?

I'm using the makeSceneTransitionAnimation API call from the Shared Element lib to share a image in the header of a collapsing toolbar to a detail view activity. Ignore the FAB's looking out of place, I plan on sliding them out part of an animation…
0
votes
1 answer

android gif shared element transition

I know how to make shared element transition for image. Is there a way we could do gif shared element transition? When we click on a gif, it pops up to be a fullscreen view. Or could we pause the gif, then do the shared element transition? Any help…
Shumin
  • 991
  • 2
  • 13
  • 22
0
votes
2 answers

Gmail App - Lollipop Shared Elements transitions

I know that this question is being asked many times, but still i was not able to find solution. Well we all know that Lollipop Shared Elements transitions only work with lollipop devices, but the recent update to Gmail app has the same animation…
0
votes
0 answers

Fragment shared element transition not working in nested views

I have a strange problem (maybe it's a bug in transitions library) with shared element transition animations. Target Android version is 5.0. Here is my layout:
0
votes
1 answer

Android Activity transition - ListView dividers are visible too long

During my exploration of Activity Transitions I've have encountered problem with ListView (unfortunately I've not migrated to RecyclerView yet :( ) ListView default dividers are visible for really short time (see video…
0
votes
1 answer

Android L transition and home up button

I am using the new Android L transition, in particular shared element transitions along with a Slide(). When I press the back button the transitions work perfectly, it slides and transitions the shared ImageView to the correct spot but when I press…
0
votes
1 answer

Hero Transitions not working Android Lollipop

I tried to make animations/transitions between activities but I couldn't make it perfect and good. And I couldn't find any helping guide. Can you tell me how to create an ActivityOptions tranistion, like…
user3184899
  • 3,019
  • 6
  • 30
  • 38
-1
votes
1 answer

Splash Screen Shared Element Transition On Bigger Screens

I want to make a splash screen that appears when i open the app and disappears after 3 seconds, with the image being shared with the next activity. On smaller screens(for example Pixel 2) the animation works without problems, but when i try it on my…
-1
votes
1 answer

Android - Shared element transition making recyclerview items small

After I start my profile activity with a Shared Element transition on the profile image, items in the RecyclerView are really small. If I don't do this transition then they're fine. Why and how do I fix it? Here is a gif of the effect:…
-1
votes
2 answers

How to return different shared element from first shared element when start a transition activity

I have an activity that contain a listview. My listview has many pictures. When user touch a picture, second activity start with shared element transition. Second activity contains viewerpager that shows pictures in first activity. I want when user…
No Body
  • 671
  • 5
  • 14
1 2 3
28
29