Giter Club home page Giter Club logo

android-activityscenetransitionbasic's People

Contributors

codingjeremy avatar google-automerger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-activityscenetransitionbasic's Issues

TextView shared elements abruptly change in text size at the end of the animations

During the shared element transition, the ImageView is animated perfectly. However, the TextView does not animate smoothly across the two Activities. For example, at the end of the enter transition, the TextView abruptly increases in size. Also, at the end of the return transition, the TextView abruptly shrinks in size. At the very beginning of the return transition, the entire TextView is abruptly clipped to its original bounds in the main grid activity.

In other words, the sample does not properly animate the TextView's text size property during the shared element transition... and it seems like overall using a ChangeBounds transition is not ideal for use with TextViews that have different text sizes and layout bounds in either Activity. I am reporting this as a bug because it is not clear whether or not it is intentional.

A video of the buggy behavior is illustrated in this screen capture video: http://youtu.be/oLhhy8o7xQc

Share transitions with map marker onclick

Hi, I have seen this your demo, But can I achieve this Scene Transition animation on the map marker. Please, the map image with the marker (Yeats), I want to perform shared Transition animation on the maker click, We are using below code in Scene Transition animation.

ActivityOptionsCompat activityOptions = ActivityOptionsCompat.makeSceneTransitionAnimation();

this method takes sharedElement (view), but in the case of google map marker, we can not send Marker object in this method.
anyone guide me how can I perform shared Transition on map marker click

device-2018-08-31-095451

Request a fragment transition sample like this

Request a fragment transition sample like this. Samples on the internet are mostly for activities. However, I can't really find samples about shared transition and enter/exit/return transition for fragments.

SampleTests fails to compile

The SampleTests.java file does not compile.

Was this tests package committed to the project by accident? Because the tests don't do much, and I don't know what purpose they serve even if they did compile properly.

Deleting the SampleTests.java file fixed the problem for me.

ActivitySceneTransition in Android 5.0 SDK samples is broken

The new version of the ActivitySceneTransition has appeared in the Android 5.0 SDK Samples.
Unfortunately, it is broken and does not start.

E/AndroidRuntime( 5964): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.activityscenetransitionbasic/com.example.android.activityscenetransitionbasic.MainActivity}: java.lang.RuntimeException: Unknown scene name: moveImage
E/AndroidRuntime( 5964):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)
E/AndroidRuntime( 5964):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
E/AndroidRuntime( 5964):    at android.app.ActivityThread.access$800(ActivityThread.java:144)
E/AndroidRuntime( 5964):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
E/AndroidRuntime( 5964):    at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 5964):    at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 5964):    at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 5964):    at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 5964):    at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 5964):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 5964):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime( 5964): Caused by: java.lang.RuntimeException: Unknown scene name: moveImage
E/AndroidRuntime( 5964):    at android.transition.TransitionInflater.createTransitionFromXml(TransitionInflater.java:177)
E/AndroidRuntime( 5964):    at android.transition.TransitionInflater.createTransitionFromXml(TransitionInflater.java:181)
E/AndroidRuntime( 5964):    at android.transition.TransitionInflater.inflateTransition(TransitionInflater.java:77)
E/AndroidRuntime( 5964):    at com.android.internal.policy.impl.PhoneWindow.getTransition(PhoneWindow.java:3696)
E/AndroidRuntime( 5964):    at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3657)
E/AndroidRuntime( 5964):    at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:367)
E/AndroidRuntime( 5964):    at android.app.Activity.setContentView(Activity.java:2144)
E/AndroidRuntime( 5964):    at com.example.android.activityscenetransitionbasic.MainActivity.onCreate(MainActivity.java:50)
E/AndroidRuntime( 5964):    at android.app.Activity.performCreate(Activity.java:5933)
E/AndroidRuntime( 5964):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
E/AndroidRuntime( 5964):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
E/AndroidRuntime( 5964):    ... 10 more
W/ActivityManager(  745):   Force finishing activity com.example.android.activityscenetransitionbasic/.MainActivity

moveImage should be replaced by changeBounds and changeImageTransform.

TextView shared elements abruptly change in text size at the end of the animations

During the shared element transition, the ImageView is animated perfectly. However, the TextView does not animate smoothly across the two Activities. For example, at the end of the enter transition, the TextView abruptly increases in size. Also, at the end of the return transition, the TextView abruptly shrinks in size. At the very beginning of the return transition, the entire TextView is abruptly clipped to its original bounds in the main grid activity.

In other words, the sample does not properly animate the TextView's text size property during the shared element transition... and it seems like overall using a ChangeBounds transition is not ideal for use with TextViews that have different text sizes and layout bounds in either Activity. I am reporting this as a bug because it is not clear whether or not it is intentional.

A video of the buggy behavior is illustrated in this screen capture video: http://youtu.be/oLhhy8o7xQc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.