|
17 | 17 |
|
18 | 18 | <MotionScene |
19 | 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
20 | | - xmlns:motion="http://schemas.android.com/apk/res-auto"> |
| 20 | + xmlns:app="http://schemas.android.com/apk/res-auto"> |
21 | 21 |
|
22 | 22 | <Transition |
23 | | - motion:constraintSetEnd="@+id/end" |
24 | | - motion:constraintSetStart="@+id/start"> |
| 23 | + app:constraintSetEnd="@+id/end" |
| 24 | + app:constraintSetStart="@+id/start"> |
25 | 25 |
|
26 | 26 | <KeyFrameSet> |
27 | 27 |
|
28 | 28 | <KeyAttribute |
29 | | - motion:framePosition="0" |
30 | | - motion:target="@+id/background"> |
| 29 | + app:framePosition="0" |
| 30 | + app:motionTarget="@+id/background"> |
31 | 31 |
|
32 | 32 | <CustomAttribute |
33 | | - motion:attributeName="backgroundColor" |
34 | | - motion:customColorValue="#3F51B5" /> |
| 33 | + app:attributeName="backgroundColor" |
| 34 | + app:customColorValue="#3F51B5" /> |
35 | 35 |
|
36 | 36 | </KeyAttribute> |
37 | 37 |
|
38 | 38 | <KeyAttribute |
39 | | - motion:framePosition="0" |
40 | 39 | android:scaleX="1" |
41 | 40 | android:scaleY="1" |
42 | 41 | android:rotation="0" |
43 | | - motion:target="@+id/image"> |
| 42 | + app:framePosition="0" |
| 43 | + app:motionTarget="@+id/image"> |
44 | 44 |
|
45 | 45 | <CustomAttribute |
46 | | - motion:attributeName="color" |
47 | | - motion:customColorValue="#BFC5E6" /> |
| 46 | + app:attributeName="color" |
| 47 | + app:customColorValue="#BFC5E6" /> |
48 | 48 |
|
49 | 49 | </KeyAttribute> |
50 | 50 |
|
51 | 51 | <KeyAttribute |
52 | | - motion:framePosition="33" |
53 | | - motion:target="@+id/background"> |
| 52 | + app:framePosition="33" |
| 53 | + app:motionTarget="@+id/background"> |
54 | 54 |
|
55 | 55 | <CustomAttribute |
56 | | - motion:attributeName="backgroundColor" |
57 | | - motion:customColorValue="#FFEB3B" /> |
| 56 | + app:attributeName="backgroundColor" |
| 57 | + app:customColorValue="#FFEB3B" /> |
58 | 58 |
|
59 | 59 | </KeyAttribute> |
60 | 60 |
|
61 | 61 | <KeyAttribute |
62 | | - motion:framePosition="33" |
63 | 62 | android:scaleX="1.3" |
64 | 63 | android:scaleY="1.3" |
65 | 64 | android:rotation="120" |
66 | | - motion:target="@+id/image"> |
| 65 | + app:framePosition="33" |
| 66 | + app:motionTarget="@+id/image"> |
67 | 67 |
|
68 | 68 | <CustomAttribute |
69 | | - motion:attributeName="color" |
70 | | - motion:customColorValue="#544D13" /> |
| 69 | + app:attributeName="color" |
| 70 | + app:customColorValue="#544D13" /> |
71 | 71 |
|
72 | 72 | </KeyAttribute> |
73 | 73 |
|
74 | 74 | <KeyAttribute |
75 | | - motion:framePosition="66" |
76 | | - motion:target="@+id/background"> |
| 75 | + app:framePosition="66" |
| 76 | + app:motionTarget="@+id/background"> |
77 | 77 |
|
78 | 78 | <CustomAttribute |
79 | | - motion:attributeName="backgroundColor" |
80 | | - motion:customColorValue="#E91E63" /> |
| 79 | + app:attributeName="backgroundColor" |
| 80 | + app:customColorValue="#E91E63" /> |
81 | 81 |
|
82 | 82 | </KeyAttribute> |
83 | 83 |
|
84 | 84 | <KeyAttribute |
85 | | - motion:framePosition="66" |
86 | 85 | android:scaleX="1.6" |
87 | 86 | android:scaleY="1.6" |
88 | 87 | android:rotation="240" |
89 | | - motion:target="@+id/image"> |
| 88 | + app:framePosition="66" |
| 89 | + app:motionTarget="@+id/image"> |
90 | 90 |
|
91 | 91 | <CustomAttribute |
92 | | - motion:attributeName="color" |
93 | | - motion:customColorValue="#F7B4CB" /> |
| 92 | + app:attributeName="color" |
| 93 | + app:customColorValue="#F7B4CB" /> |
94 | 94 |
|
95 | 95 | </KeyAttribute> |
96 | 96 |
|
97 | 97 | <KeyAttribute |
98 | | - motion:framePosition="100" |
99 | | - motion:target="@+id/background"> |
| 98 | + app:framePosition="100" |
| 99 | + app:motionTarget="@+id/background"> |
100 | 100 |
|
101 | 101 | <CustomAttribute |
102 | | - motion:attributeName="backgroundColor" |
103 | | - motion:customColorValue="#03A9F4" /> |
| 102 | + app:attributeName="backgroundColor" |
| 103 | + app:customColorValue="#03A9F4" /> |
104 | 104 |
|
105 | 105 | </KeyAttribute> |
106 | 106 |
|
107 | 107 | <KeyAttribute |
108 | | - motion:framePosition="100" |
109 | 108 | android:scaleX="1" |
110 | 109 | android:scaleY="1" |
111 | 110 | android:rotation="360" |
112 | | - motion:target="@+id/image"> |
| 111 | + app:framePosition="100" |
| 112 | + app:motionTarget="@+id/image"> |
113 | 113 |
|
114 | 114 | <CustomAttribute |
115 | | - motion:attributeName="color" |
116 | | - motion:customColorValue="#003750" /> |
| 115 | + app:attributeName="color" |
| 116 | + app:customColorValue="#003750" /> |
117 | 117 |
|
118 | 118 | </KeyAttribute> |
119 | 119 |
|
|
126 | 126 |
|
127 | 127 | <Constraint |
128 | 128 | android:id="@+id/background" |
129 | | - motion:layout_constraintBottom_toBottomOf="parent" |
130 | | - motion:layout_constraintEnd_toEndOf="parent" |
131 | | - motion:layout_constraintStart_toStartOf="parent" |
132 | | - motion:layout_constraintTop_toTopOf="parent" /> |
| 129 | + app:layout_constraintBottom_toBottomOf="parent" |
| 130 | + app:layout_constraintEnd_toEndOf="parent" |
| 131 | + app:layout_constraintStart_toStartOf="parent" |
| 132 | + app:layout_constraintTop_toTopOf="parent" /> |
133 | 133 |
|
134 | 134 | <Constraint |
135 | 135 | android:id="@+id/image" |
136 | 136 | android:layout_width="196dp" |
137 | 137 | android:layout_height="196dp" |
138 | 138 | android:padding="16dp" |
139 | | - motion:layout_constraintBottom_toBottomOf="parent" |
140 | | - motion:layout_constraintEnd_toEndOf="parent" |
141 | | - motion:layout_constraintStart_toStartOf="parent" |
142 | | - motion:layout_constraintTop_toTopOf="parent" /> |
| 139 | + app:layout_constraintBottom_toBottomOf="parent" |
| 140 | + app:layout_constraintEnd_toEndOf="parent" |
| 141 | + app:layout_constraintStart_toStartOf="parent" |
| 142 | + app:layout_constraintTop_toTopOf="parent" /> |
143 | 143 |
|
144 | 144 | </ConstraintSet> |
145 | 145 |
|
|
148 | 148 |
|
149 | 149 | <Constraint |
150 | 150 | android:id="@+id/background" |
151 | | - motion:layout_constraintBottom_toBottomOf="parent" |
152 | | - motion:layout_constraintEnd_toEndOf="parent" |
153 | | - motion:layout_constraintStart_toStartOf="parent" |
154 | | - motion:layout_constraintTop_toTopOf="parent" /> |
| 151 | + app:layout_constraintBottom_toBottomOf="parent" |
| 152 | + app:layout_constraintEnd_toEndOf="parent" |
| 153 | + app:layout_constraintStart_toStartOf="parent" |
| 154 | + app:layout_constraintTop_toTopOf="parent" /> |
155 | 155 |
|
156 | 156 | <Constraint |
157 | 157 | android:id="@+id/image" |
158 | 158 | android:layout_width="196dp" |
159 | 159 | android:layout_height="196dp" |
160 | 160 | android:padding="16dp" |
161 | | - motion:layout_constraintBottom_toBottomOf="parent" |
162 | | - motion:layout_constraintEnd_toEndOf="parent" |
163 | | - motion:layout_constraintStart_toStartOf="parent" |
164 | | - motion:layout_constraintTop_toTopOf="parent" /> |
| 161 | + app:layout_constraintBottom_toBottomOf="parent" |
| 162 | + app:layout_constraintEnd_toEndOf="parent" |
| 163 | + app:layout_constraintStart_toStartOf="parent" |
| 164 | + app:layout_constraintTop_toTopOf="parent" /> |
165 | 165 |
|
166 | 166 | </ConstraintSet> |
167 | 167 |
|
|
0 commit comments