android-transitions

Scene transition with hero elements throws Layer exceeds max. dimensions supported by the GPU

左心房为你撑大大i 提交于 2019-11-26 19:12:47
问题 I am trying to do a hero transition in Android 5.0 between an image in a ListView to a details page. But for about 50% of my images Android crashes with the exception below. My images are 600x400 but I tried changing them to 200x100 but got the same error. When it works, it looks great but I cannot see the difference between the various images. Really unsure why it claims the layer is too big, anybody got a clue? private void handleNewsItemClicked(AdapterView<?> arg0, View viewClicked, int

How to animate floating action button using android activity transition?

匆匆过客 提交于 2019-11-26 18:49:11
问题 I am planning to implement something like this in one of my project but the concept for the following is unclear to me, there's no such tutorial available either, moreover you don't get to see this very often. Here is how it looks like Click here to go to source From all the references what i have understood is they have used two types of transition here one to move the button upto some extant and another to explode the button. So i did some digging and came across with these two library in