Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

Commit a114fb8

Browse files
committed
Update to ConstraintLayout 2.0.0-alpha2
1 parent d59a7c5 commit a114fb8

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

constraintlayout/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ android {
3030
}
3131

3232
dependencies {
33-
compile fileTree(dir: 'libs', include: ['*.jar'])
34-
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
33+
implementation fileTree(dir: 'libs', include: ['*.jar'])
34+
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
3535
exclude group: 'com.android.support', module: 'support-annotations'
3636
})
37-
compile 'com.android.support:appcompat-v7:27.1.1'
38-
testCompile 'junit:junit:4.12'
39-
compile 'com.android.support.constraint:constraint-layout:1.1.2'
37+
implementation 'com.android.support:appcompat-v7:27.1.1'
38+
testImplementation 'junit:junit:4.12'
39+
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
4040
}

motionlayout/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dependencies {
4343
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
4444
implementation 'com.android.support:appcompat-v7:27.1.1'
4545

46-
implementation 'com.android.support.constraint:constraint-layout:2.0.0-alpha1'
46+
implementation 'com.android.support.constraint:constraint-layout:2.0.0-alpha2'
4747
implementation 'android.arch.lifecycle:extensions:1.1.1'
4848
implementation 'com.android.support:design:27.1.1'
4949
implementation 'com.airbnb.android:lottie:2.5.1'

motionlayout/src/main/res/xml/scene_06.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<KeyFrameSet>
3131
<KeyPosition
32-
motion:type="pathRelative"
32+
motion:keyPositionType="pathRelative"
3333
motion:percentY="-0.25"
3434
motion:framePosition="50"
3535
motion:target="@id/button"/>

motionlayout/src/main/res/xml/scene_07.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
motion:framePosition="50"
6868
motion:target="@id/button" />
6969
<KeyPosition
70-
motion:type="pathRelative"
70+
motion:keyPositionType="pathRelative"
7171
motion:percentY="-0.3"
7272
motion:framePosition="50"
7373
motion:target="@id/button"/>

motionlayout/src/main/res/xml/scene_20.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
motion:percentX="-0.2585034"
141141
motion:percentY="0.50630915"
142142
motion:target="@id/imageView9"
143-
motion:type="deltaRelative" />
143+
motion:keyPositionType="deltaRelative" />
144144
</KeyFrameSet>
145145
</Transition>
146146
</MotionScene>

0 commit comments

Comments
 (0)