This repository was archived by the owner on Feb 8, 2022. It is now read-only.
File tree 3 files changed +17
-0
lines changed
java/com/github/florent37/expectanim/sample
3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
+ apply plugin : ' com.github.triplet.play'
2
3
3
4
android {
4
5
compileSdkVersion project. sdk
@@ -28,3 +29,10 @@ dependencies {
28
29
29
30
compile project(" :expectanim" )
30
31
}
32
+
33
+ play {
34
+ serviceAccountEmail
= ' [email protected] '
35
+ jsonFile = file(' keys.json' )
36
+ track = ' production'
37
+ uploadImages = true
38
+ }
Original file line number Diff line number Diff line change 17
17
</activity >
18
18
<activity android : name =" .ScrollActivity" />
19
19
<activity android : name =" .SampleActivity" />
20
+ <activity android : name =" .RotationActivity" />
20
21
</application >
21
22
22
23
</manifest >
Original file line number Diff line number Diff line change 4
4
import android .os .Bundle ;
5
5
import android .support .v7 .app .AppCompatActivity ;
6
6
7
+ import com .github .florent37 .expectanim .ExpectAnim ;
8
+
7
9
import butterknife .ButterKnife ;
8
10
import butterknife .OnClick ;
9
11
10
12
import static com .github .florent37 .expectanim .core .Expectations .height ;
13
+ import static com .github .florent37 .expectanim .core .Expectations .invisible ;
11
14
import static com .github .florent37 .expectanim .core .Expectations .scale ;
12
15
13
16
@@ -30,4 +33,9 @@ public void onScrollClicked(){
30
33
startActivity (new Intent (this , ScrollActivity .class ));
31
34
}
32
35
36
+ @ OnClick (R .id .rotation )
37
+ public void onRotationClicked (){
38
+ startActivity (new Intent (this , RotationActivity .class ));
39
+ }
40
+
33
41
}
You can’t perform that action at this time.
0 commit comments