diff options
author | Chet Haase <chet@google.com> | 2013-08-26 14:20:16 -0700 |
---|---|---|
committer | Chet Haase <chet@google.com> | 2013-09-04 14:46:38 -0700 |
commit | d82c8ac4db7091d2e976af4c89a1734465d20cd2 (patch) | |
tree | a3ccb4d7a4325582dfe028030e4ca2d38ba4c2be /tests/TransitionTests/src/com/android/transitiontests/Reparenting.java | |
parent | 2a59f3f24076d96cbb10e1c00c3264dec43f19b1 (diff) | |
download | frameworks_base-d82c8ac4db7091d2e976af4c89a1734465d20cd2.zip frameworks_base-d82c8ac4db7091d2e976af4c89a1734465d20cd2.tar.gz frameworks_base-d82c8ac4db7091d2e976af4c89a1734465d20cd2.tar.bz2 |
Transition API changes from API council recommendations
Issue #10460684 KLP API Review: android.view.transition and android.animation
Issue #10570740 Transitions: inflate transition targets from xml
Change-Id: I7a3f6d3aece2fcafc5efd555d033f79e86635c98
Diffstat (limited to 'tests/TransitionTests/src/com/android/transitiontests/Reparenting.java')
-rw-r--r-- | tests/TransitionTests/src/com/android/transitiontests/Reparenting.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/TransitionTests/src/com/android/transitiontests/Reparenting.java b/tests/TransitionTests/src/com/android/transitiontests/Reparenting.java index e559c72..1ee8621 100644 --- a/tests/TransitionTests/src/com/android/transitiontests/Reparenting.java +++ b/tests/TransitionTests/src/com/android/transitiontests/Reparenting.java @@ -17,11 +17,11 @@ package com.android.transitiontests; import android.app.Activity; import android.os.Bundle; +import android.transition.ChangeBounds; import android.view.View; import android.view.ViewGroup; -import android.view.transition.Move; -import android.view.transition.Scene; -import android.view.transition.TransitionManager; +import android.transition.Scene; +import android.transition.TransitionManager; import android.widget.Button; public class Reparenting extends Activity { @@ -67,7 +67,7 @@ public class Reparenting extends Activity { newParent.addView(v); } }); - Move reparent = new Move(); + ChangeBounds reparent = new ChangeBounds(); reparent.setReparent(true); TransitionManager.go(newScene, reparent); } |