• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

.google/23-Mar-2024-2014

Application/23-Mar-2024-2,3851,136

gradle/wrapper/23-Mar-2024-66

screenshots/23-Mar-2024-

CONTRIB.mdD23-Mar-20241.6 KiB3627

CONTRIBUTING.mdD23-Mar-20241.5 KiB3627

LICENSED23-Mar-202411.1 KiB204170

README.mdD23-Mar-20243 KiB8260

build.gradleD23-Mar-202410 110

gradlewD23-Mar-20245 KiB165122

gradlew.batD23-Mar-20242.3 KiB9166

packaging.yamlD23-Mar-2024486 1610

settings.gradleD23-Mar-202422 21

README.md

1
2Android BasicTransition Sample
3===================================
4
5A basic app showing how to use the Transition framework introduced in
6KitKat. The app shows radioboxes to select between different Scenes,
7and uses various ways to transition between them.
8
9Introduction
10------------
11
12A Scene is an encapsulation of the state of a view hierarchy,
13including the views in that hierarchy and the various values
14(layout-related and otherwise) that those views have. A scene can be
15defined by a layout hierarchy directly or by code which sets up the
16scene dynamically as it is entered.
17
18A Transition is a mechanism to automatically animate changes that
19occur when a new scene is entered. Some transition capabilities are
20automatic. That is, entering a scene may cause animations to run which
21fade out views that go away, changeBounds and resize existing views
22that change, and fade in views that become visible. There are
23additional transitions that can animate other attributes, such as
24color changes, and which can optionally be specified to take place
25during particular scene changes. Finally, developers can define their
26own Transition subclasses which monitor particular property changes
27and which run custom animations when those properties change values.
28
29TransitionManager is used to specify custom transitions for particular
30scene changes, and to cause scene changes with specific transitions to
31take place.
32
33Pre-requisites
34--------------
35
36- Android SDK 27
37- Android Build Tools v27.0.2
38- Android Support Repository
39
40Screenshots
41-------------
42
43<img src="screenshots/main.png" height="400" alt="Screenshot"/>
44
45Getting Started
46---------------
47
48This sample uses the Gradle build system. To build this project, use the
49"gradlew build" command or use "Import Project" in Android Studio.
50
51Support
52-------
53
54- Google+ Community: https://plus.google.com/communities/105153134372062985968
55- Stack Overflow: http://stackoverflow.com/questions/tagged/android
56
57If you've found an error in this sample, please file an issue:
58https://github.com/googlesamples/android-BasicTransition
59
60Patches are encouraged, and may be submitted by forking this project and
61submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.
62
63License
64-------
65
66Copyright 2017 The Android Open Source Project, Inc.
67
68Licensed to the Apache Software Foundation (ASF) under one or more contributor
69license agreements.  See the NOTICE file distributed with this work for
70additional information regarding copyright ownership.  The ASF licenses this
71file to you under the Apache License, Version 2.0 (the "License"); you may not
72use this file except in compliance with the License.  You may obtain a copy of
73the License at
74
75http://www.apache.org/licenses/LICENSE-2.0
76
77Unless required by applicable law or agreed to in writing, software
78distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
79WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
80License for the specific language governing permissions and limitations under
81the License.
82