-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
253 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
android/DartsScorecard/app/src/main/res/drawable/dart_throw_first.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:aapt="http://schemas.android.com/aapt" | ||
android:drawable="@drawable/ic_darts_3"> | ||
|
||
<target android:name="path1"> | ||
<aapt:attr name="android:animation"> | ||
<objectAnimator | ||
android:duration="1000" | ||
android:interpolator="@android:interpolator/decelerate_cubic" | ||
android:propertyName="fillAlpha" | ||
android:valueFrom="1" | ||
android:valueTo="0" | ||
android:valueType="floatType" /> | ||
</aapt:attr> | ||
</target> | ||
<target android:name="path2"> | ||
<aapt:attr name="android:animation"> | ||
<objectAnimator | ||
android:duration="1000" | ||
android:interpolator="@android:interpolator/decelerate_cubic" | ||
android:propertyName="fillAlpha" | ||
android:valueFrom=".4" | ||
android:valueTo="1" | ||
android:valueType="floatType" /> | ||
</aapt:attr> | ||
</target> | ||
<target android:name="dart1"> | ||
<aapt:attr name="android:animation"> | ||
<objectAnimator | ||
android:duration="1000" | ||
android:interpolator="@android:interpolator/decelerate_cubic" | ||
android:propertyName="translateX" | ||
android:valueFrom="0" | ||
android:valueTo="-500" | ||
android:valueType="floatType" /> | ||
</aapt:attr> | ||
</target> | ||
|
||
</animated-vector> |
40 changes: 40 additions & 0 deletions
40
android/DartsScorecard/app/src/main/res/drawable/dart_throw_second.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:aapt="http://schemas.android.com/aapt" | ||
android:drawable="@drawable/ic_darts_2"> | ||
|
||
<target android:name="path2"> | ||
<aapt:attr name="android:animation"> | ||
<objectAnimator | ||
android:duration="1000" | ||
android:interpolator="@android:interpolator/decelerate_cubic" | ||
android:propertyName="fillAlpha" | ||
android:valueFrom="1" | ||
android:valueTo="0" | ||
android:valueType="floatType" /> | ||
</aapt:attr> | ||
</target> | ||
<target android:name="path3"> | ||
<aapt:attr name="android:animation"> | ||
<objectAnimator | ||
android:duration="1000" | ||
android:interpolator="@android:interpolator/decelerate_cubic" | ||
android:propertyName="fillAlpha" | ||
android:valueFrom=".4" | ||
android:valueTo="1" | ||
android:valueType="floatType" /> | ||
</aapt:attr> | ||
</target> | ||
<target android:name="dart2"> | ||
<aapt:attr name="android:animation"> | ||
<objectAnimator | ||
android:duration="1000" | ||
android:interpolator="@android:interpolator/decelerate_cubic" | ||
android:propertyName="translateX" | ||
android:valueFrom="0" | ||
android:valueTo="-500" | ||
android:valueType="floatType" /> | ||
</aapt:attr> | ||
</target> | ||
|
||
</animated-vector> |
29 changes: 29 additions & 0 deletions
29
android/DartsScorecard/app/src/main/res/drawable/dart_throw_third.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:aapt="http://schemas.android.com/aapt" | ||
android:drawable="@drawable/ic_darts_1"> | ||
|
||
<target android:name="path3"> | ||
<aapt:attr name="android:animation"> | ||
<objectAnimator | ||
android:duration="1000" | ||
android:interpolator="@android:interpolator/decelerate_cubic" | ||
android:propertyName="fillAlpha" | ||
android:valueFrom="1" | ||
android:valueTo="0" | ||
android:valueType="floatType" /> | ||
</aapt:attr> | ||
</target> | ||
<target android:name="dart3"> | ||
<aapt:attr name="android:animation"> | ||
<objectAnimator | ||
android:duration="1000" | ||
android:interpolator="@android:interpolator/decelerate_cubic" | ||
android:propertyName="translateX" | ||
android:valueFrom="0" | ||
android:valueTo="-500" | ||
android:valueType="floatType" /> | ||
</aapt:attr> | ||
</target> | ||
|
||
</animated-vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
android/DartsScorecard/app/src/main/res/drawable/ic_darts_1.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="134dp" | ||
android:height="134dp" | ||
android:viewportHeight="134.0" | ||
android:viewportWidth="134.0"> | ||
|
||
<group | ||
android:name="all" | ||
android:pivotX="72" | ||
android:pivotY="72" | ||
android:rotation="60"> | ||
<group android:name="dart3"> | ||
<path | ||
android:name="path3" | ||
android:fillColor="?attr/scoreText" | ||
android:pathData="M96.12,69.16L38.86,71.75L37.39,73.04L22.81,73.04L18.69,68.81L3.89,68.81L0.28,67.39L3.89,66.04L18.69,66.04L22.81,61.81L37.39,61.81L38.86,63.1L95.66,65.67C96.97,64.29 99.3,61.82 103.44,57.39C109.43,50.98 124.61,45.25 131.21,56.01C132.98,58.9 132.04,62.61 128.39,67.15L133.83,67.39L133.83,67.45L128.77,67.68C132.1,72 132.92,75.55 131.21,78.33C124.61,89.09 109.43,83.36 103.44,76.95C99.75,73 97.49,70.61 96.12,69.16Z" | ||
android:strokeColor="#00000000" | ||
android:strokeWidth="1" /> | ||
</group> | ||
</group> | ||
</vector> |
34 changes: 34 additions & 0 deletions
34
android/DartsScorecard/app/src/main/res/drawable/ic_darts_2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="134dp" | ||
android:height="134dp" | ||
android:viewportHeight="134.0" | ||
android:viewportWidth="134.0"> | ||
|
||
<group | ||
android:name="all" | ||
android:pivotX="72" | ||
android:pivotY="72" | ||
android:rotation="60"> | ||
<group android:name="dart2"> | ||
<path | ||
android:name="path2" | ||
android:fillColor="?attr/scoreText" | ||
android:pathData="M96.12,69.16L38.86,71.75L37.39,73.04L22.81,73.04L18.69,68.81L3.89,68.81L0.28,67.39L3.89,66.04L18.69,66.04L22.81,61.81L37.39,61.81L38.86,63.1L95.66,65.67C96.97,64.29 99.3,61.82 103.44,57.39C109.43,50.98 124.61,45.25 131.21,56.01C132.98,58.9 132.04,62.61 128.39,67.15L133.83,67.39L133.83,67.45L128.77,67.68C132.1,72 132.92,75.55 131.21,78.33C124.61,89.09 109.43,83.36 103.44,76.95C99.75,73 97.49,70.61 96.12,69.16Z" | ||
android:strokeColor="#00000000" | ||
android:strokeWidth="1" /> | ||
</group> | ||
<group | ||
android:name="dart3" | ||
android:rotation="20" | ||
android:translateX="24" | ||
android:translateY="8"> | ||
<path | ||
android:name="path3" | ||
android:fillColor="?attr/scoreText" | ||
android:fillAlpha="0.4" | ||
android:pathData="M96.12,69.16L38.86,71.75L37.39,73.04L22.81,73.04L18.69,68.81L3.89,68.81L0.28,67.39L3.89,66.04L18.69,66.04L22.81,61.81L37.39,61.81L38.86,63.1L95.66,65.67C96.97,64.29 99.3,61.82 103.44,57.39C109.43,50.98 124.61,45.25 131.21,56.01C132.98,58.9 132.04,62.61 128.39,67.15L133.83,67.39L133.83,67.45L128.77,67.68C132.1,72 132.92,75.55 131.21,78.33C124.61,89.09 109.43,83.36 103.44,76.95C99.75,73 97.49,70.61 96.12,69.16Z" | ||
android:strokeColor="#00000000" | ||
android:strokeWidth="1" /> | ||
</group> | ||
</group> | ||
</vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.