diff --git a/core/java/android/transition/Transition.java b/core/java/android/transition/Transition.java index e99c2cfeedd77..2705bcf6c70ac 100644 --- a/core/java/android/transition/Transition.java +++ b/core/java/android/transition/Transition.java @@ -84,8 +84,8 @@ import com.android.internal.R; * *
Custom transition classes may be instantiated with a transition tag:
<transition class="my.app.transition.CustomTransition"/>- *
Custom transition classes loaded from XML must have a public nullary (no argument) - * constructor.
+ *Custom transition classes loaded from XML should have a public constructor taking + * a {@link android.content.Context} and {@link android.util.AttributeSet}.
* *Note that attributes for the transition are not required, just as they are * optional when declared in code; Transitions created from XML resources will use @@ -955,7 +955,7 @@ public abstract class Transition implements Cloneable { * Views with different IDs, or no IDs whatsoever, will be ignored. * *
Note that using ids to specify targets implies that ids should be unique - * within the view hierarchy underneat the scene root.
+ * within the view hierarchy underneath the scene root. * * @see View#getId() * @param targetId The id of a target view, must be a positive number.