1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright 2013 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9     http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17
18
19
20<sample>
21    <name>RevealEffectBasic</name>
22    <group>UI</group>
23    <package>com.example.android.revealeffectbasic</package>
24
25    <minSdk>21</minSdk>
26
27    <strings>
28        <intro>
29            <![CDATA[
30            Basic sample to demonstrate the reveal effect.
31            ]]>
32        </intro>
33    </strings>
34
35    <metadata>
36        <status>PUBLISHED</status>
37        <categories>UI</categories>
38        <technologies>Android</technologies>
39        <languages>Java</languages>
40        <solutions>Mobile</solutions>
41        <level>INTERMEDIATE</level>
42        <icon>screenshots/icon-web.png</icon>
43        <screenshots>
44            <img>screenshots/1-main.png</img>
45        </screenshots>
46        <api_refs>
47            <android>android.view.ViewAnimationUtils</android>
48            <android>android.animation.Animator</android>
49        </api_refs>
50        <description>
51<![CDATA[
52Sample demonstrating circular reveal effect. It covers creating an
53[Animator][1] with [ViewAnimationUtils][2] as well as defining the parameters
54of the circular reveal including starting position and radius.
55
56
57[1]: https://developer.android.com/reference/android/animation/Animator.html
58[2]: https://developer.android.com/reference/android/view/ViewAnimationUtils.html
59]]>
60        </description>
61        <intro>
62<![CDATA[
63Sample demonstrating circular reveal effect. Reveal animations can be used to
64provide visual continuity when showing or hiding views. With
65[ViewAnimationsUtils.createCircularReveal()][1] you can use the startRadius and
66endRadius to define a hiding or revealing animation. You can also define the
67center of the animation, in this sample the center is x=0, y=0 which defines
68the top left of the View as the center.
69
70Press the *Reveal* button to see the the circular reveal.
71
72[1]: http://developer.android.com/reference/android/view/ViewAnimationUtils.html#createCircularReveal(android.view.View, int, int, float, float)
73]]>
74        </intro>
75    </metadata>
76
77    <template src="base"/>
78    <template src="FragmentView"/>
79    <common src="logger"/>
80    <common src="activities"/>
81
82</sample>
83