diff options
author | Yuichi Araki <yaraki@google.com> | 2019-05-29 22:59:07 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-05-29 22:59:07 +0000 |
commit | eecdddf67ccf4bbb75dc679298941b708794e963 (patch) | |
tree | 0f0e922a77d097216befdb638b369bef5b8a153b | |
parent | 67c2e3b0e2f60c02d790bc437e0c63ee1f0dfccb (diff) | |
parent | 072579b28ef0a12eb5831b95d5b248e1dd2638af (diff) | |
download | support-eecdddf67ccf4bbb75dc679298941b708794e963.tar.gz |
Merge "Replace package.html with package-info.java" into androidx-master-dev
-rw-r--r-- | transition/src/main/java/androidx/transition/package-info.java | 35 | ||||
-rw-r--r-- | transition/src/main/java/androidx/transition/package.html | 8 |
2 files changed, 35 insertions, 8 deletions
diff --git a/transition/src/main/java/androidx/transition/package-info.java b/transition/src/main/java/androidx/transition/package-info.java new file mode 100644 index 00000000000..e13f81e3cf6 --- /dev/null +++ b/transition/src/main/java/androidx/transition/package-info.java @@ -0,0 +1,35 @@ +/* + * Copyright 2019 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * AndroidX Transition Library provides Transition API back to API level 14. + * <p> + * Transition API allows you to animate various kinds of layout changes automatically. For example, + * you can present a change of {@link android.view.View#setVisibility(int) visibility} as fade in / + * out animation like below: + * </p> + * <pre> + * TextView message = findViewById(R.id.message); + * ViewGroup container = findViewById(R.id.container); + * Fade fade = new Fade(); + * + * TransitionManager.beginDelayedTransition(container, fade); + * message.setVisibility(View.INVISIBLE); + * </pre> + * @see <a href="https://developer.android.com/training/transitions">Transition API Guide</a> + */ + +package androidx.transition; diff --git a/transition/src/main/java/androidx/transition/package.html b/transition/src/main/java/androidx/transition/package.html deleted file mode 100644 index 08d7ab67d0e..00000000000 --- a/transition/src/main/java/androidx/transition/package.html +++ /dev/null @@ -1,8 +0,0 @@ -<body> - - Support android.transition classes to provide transition API back to Android API level 14. - This library contains {@link androidx.transition.Transition}, - {@link androidx.transition.TransitionManager}, and other related classes - back-ported from their platform versions introduced Android API level 19. - -</body> |