├── app
├── .gitignore
├── demo.apk
├── src
│ └── main
│ │ ├── res
│ │ ├── values
│ │ │ ├── dimens.xml
│ │ │ ├── styles.xml
│ │ │ └── integer.xml
│ │ └── layout
│ │ │ └── activity_main.xml
│ │ ├── AndroidManifest.xml
│ │ └── java
│ │ └── com
│ │ └── qwert2603
│ │ └── vector_integer_view_example
│ │ └── MainActivity.java
├── proguard-rules.pro
└── build.gradle
├── library
├── .gitignore
├── src
│ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── res
│ │ │ ├── values
│ │ │ │ ├── integer.xml
│ │ │ │ ├── colors.xml
│ │ │ │ ├── dimens.xml
│ │ │ │ ├── attrs.xml
│ │ │ │ └── pathmorph_digits.xml
│ │ │ ├── layout
│ │ │ │ ├── viv_item_digit.xml
│ │ │ │ └── viv_vector_digit_view.xml
│ │ │ └── drawable
│ │ │ │ ├── viv_avd_pathmorph_digits_1_to_2.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_1_to_6.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_1_to_n.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_2_to_1.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_2_to_6.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_2_to_n.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_6_to_1.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_6_to_2.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_6_to_n.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_n_to_1.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_n_to_2.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_n_to_6.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_0_to_1.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_0_to_2.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_0_to_3.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_0_to_4.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_0_to_5.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_0_to_6.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_0_to_7.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_0_to_8.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_0_to_9.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_0_to_m.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_0_to_n.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_1_to_0.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_1_to_3.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_1_to_4.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_1_to_5.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_1_to_7.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_1_to_8.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_1_to_9.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_1_to_m.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_2_to_0.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_2_to_3.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_2_to_4.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_2_to_5.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_2_to_7.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_2_to_8.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_2_to_9.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_2_to_m.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_3_to_0.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_3_to_1.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_3_to_2.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_3_to_4.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_3_to_5.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_3_to_6.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_3_to_7.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_3_to_8.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_3_to_9.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_3_to_m.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_3_to_n.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_4_to_0.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_4_to_1.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_4_to_2.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_4_to_3.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_4_to_5.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_4_to_6.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_4_to_7.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_4_to_8.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_4_to_9.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_4_to_m.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_4_to_n.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_5_to_0.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_5_to_1.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_5_to_2.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_5_to_3.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_5_to_4.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_5_to_6.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_5_to_7.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_5_to_8.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_5_to_9.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_5_to_m.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_5_to_n.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_6_to_0.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_6_to_3.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_6_to_4.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_6_to_5.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_6_to_7.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_6_to_8.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_6_to_9.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_6_to_m.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_7_to_0.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_7_to_1.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_7_to_2.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_7_to_3.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_7_to_4.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_7_to_5.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_7_to_6.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_7_to_8.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_7_to_9.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_7_to_m.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_7_to_n.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_8_to_0.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_8_to_1.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_8_to_2.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_8_to_3.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_8_to_4.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_8_to_5.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_8_to_6.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_8_to_7.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_8_to_9.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_8_to_m.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_8_to_n.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_9_to_0.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_9_to_1.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_9_to_2.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_9_to_3.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_9_to_4.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_9_to_5.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_9_to_6.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_9_to_7.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_9_to_8.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_9_to_m.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_9_to_n.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_m_to_0.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_m_to_1.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_m_to_2.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_m_to_3.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_m_to_4.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_m_to_5.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_m_to_6.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_m_to_7.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_m_to_8.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_m_to_9.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_m_to_n.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_n_to_0.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_n_to_3.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_n_to_4.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_n_to_5.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_n_to_7.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_n_to_8.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_n_to_9.xml
│ │ │ │ ├── viv_avd_pathmorph_digits_n_to_m.xml
│ │ │ │ ├── viv_vd_pathmorph_digits_five.xml
│ │ │ │ ├── viv_vd_pathmorph_digits_four.xml
│ │ │ │ ├── viv_vd_pathmorph_digits_nine.xml
│ │ │ │ ├── viv_vd_pathmorph_digits_nth.xml
│ │ │ │ ├── viv_vd_pathmorph_digits_one.xml
│ │ │ │ ├── viv_vd_pathmorph_digits_six.xml
│ │ │ │ ├── viv_vd_pathmorph_digits_two.xml
│ │ │ │ ├── viv_vd_pathmorph_digits_zero.xml
│ │ │ │ ├── viv_vd_pathmorph_digits_eight.xml
│ │ │ │ ├── viv_vd_pathmorph_digits_minus.xml
│ │ │ │ ├── viv_vd_pathmorph_digits_seven.xml
│ │ │ │ ├── viv_vd_pathmorph_digits_three.xml
│ │ │ │ └── viv_asl_pathmorph_digits.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── qwert2603
│ │ │ ├── vector_integer_view
│ │ │ ├── Utils.java
│ │ │ ├── VectorIntegerView.java
│ │ │ ├── DigitItemAnimator.java
│ │ │ └── DigitAdapter.java
│ │ │ └── rename_viv.kt_xt
│ └── test
│ │ └── java
│ │ └── com
│ │ └── qwert2603
│ │ └── vector_integer_view
│ │ └── UtilsTest.java
├── build.gradle
└── proguard-rules.pro
├── settings.gradle
├── art
├── device-2018-08-22-111118.png
├── device-2018-08-22-111149.png
├── device-2018-08-22-120319.gif
├── device-2018-08-22-124411.gif
└── device-2018-08-22-120319 (3).gif
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── .gitignore
├── .idea
├── vcs.xml
├── dictionaries
│ └── alex.xml
├── runConfigurations.xml
├── gradle.xml
├── modules.xml
├── codeStyles
│ └── Project.xml
└── misc.xml
├── gradle.properties
├── gradlew.bat
├── README.md
└── gradlew
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/library/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app', ':library'
2 |
--------------------------------------------------------------------------------
/app/demo.apk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qwert2603/VectorIntegerView/HEAD/app/demo.apk
--------------------------------------------------------------------------------
/library/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/art/device-2018-08-22-111118.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qwert2603/VectorIntegerView/HEAD/art/device-2018-08-22-111118.png
--------------------------------------------------------------------------------
/art/device-2018-08-22-111149.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qwert2603/VectorIntegerView/HEAD/art/device-2018-08-22-111149.png
--------------------------------------------------------------------------------
/art/device-2018-08-22-120319.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qwert2603/VectorIntegerView/HEAD/art/device-2018-08-22-120319.gif
--------------------------------------------------------------------------------
/art/device-2018-08-22-124411.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qwert2603/VectorIntegerView/HEAD/art/device-2018-08-22-124411.gif
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qwert2603/VectorIntegerView/HEAD/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/art/device-2018-08-22-120319 (3).gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qwert2603/VectorIntegerView/HEAD/art/device-2018-08-22-120319 (3).gif
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 22dp
4 |
--------------------------------------------------------------------------------
/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/values/integer.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 500
4 |
--------------------------------------------------------------------------------
/library/src/main/res/values/integer.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 400
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/library/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | @android:color/black
4 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/dictionaries/alex.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | qwert
5 | strokewidth
6 |
7 |
8 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Aug 16 20:00:51 NOVT 2018
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
7 |
--------------------------------------------------------------------------------
/library/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 24dp
4 | -3dp
5 | - -0.06
6 | - -0.06
7 | - 0.08
8 |
--------------------------------------------------------------------------------
/library/src/main/res/layout/viv_item_digit.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/.idea/runConfigurations.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
--------------------------------------------------------------------------------
/library/src/main/res/layout/viv_vector_digit_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
13 |
14 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_1_to_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_1_to_6.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_1_to_n.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_2_to_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_2_to_6.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_2_to_n.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_6_to_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_6_to_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_6_to_n.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_n_to_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_n_to_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_n_to_6.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_0_to_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_0_to_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_0_to_3.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_0_to_4.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_0_to_5.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_0_to_6.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_0_to_7.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_0_to_8.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_0_to_9.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_0_to_m.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_0_to_n.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_1_to_0.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_1_to_3.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_1_to_4.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_1_to_5.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_1_to_7.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_1_to_8.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_1_to_9.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_1_to_m.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_2_to_0.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_2_to_3.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_2_to_4.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_2_to_5.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_2_to_7.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_2_to_8.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_2_to_9.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_2_to_m.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_3_to_0.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_3_to_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_3_to_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_3_to_4.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_3_to_5.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_3_to_6.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_3_to_7.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_3_to_8.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_3_to_9.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_3_to_m.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_3_to_n.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_4_to_0.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_4_to_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_4_to_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_4_to_3.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_4_to_5.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_4_to_6.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_4_to_7.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_4_to_8.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_4_to_9.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_4_to_m.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_4_to_n.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_5_to_0.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_5_to_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_5_to_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_5_to_3.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_5_to_4.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_5_to_6.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_5_to_7.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_5_to_8.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_5_to_9.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_5_to_m.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_5_to_n.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_6_to_0.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_6_to_3.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_6_to_4.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_6_to_5.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_6_to_7.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_6_to_8.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_6_to_9.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_6_to_m.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_7_to_0.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_7_to_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_7_to_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_7_to_3.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_7_to_4.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_7_to_5.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_7_to_6.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_7_to_8.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_7_to_9.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_7_to_m.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_7_to_n.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_8_to_0.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_8_to_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_8_to_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_8_to_3.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_8_to_4.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_8_to_5.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_8_to_6.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_8_to_7.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_8_to_9.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_8_to_m.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_8_to_n.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_9_to_0.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_9_to_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_9_to_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_9_to_3.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_9_to_4.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_9_to_5.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_9_to_6.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_9_to_7.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_9_to_8.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_9_to_m.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_9_to_n.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_m_to_0.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_m_to_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_m_to_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_m_to_3.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_m_to_4.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_m_to_5.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_m_to_6.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_m_to_7.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_m_to_8.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_m_to_9.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_m_to_n.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_n_to_0.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_n_to_3.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_n_to_4.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_n_to_5.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_n_to_7.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_n_to_8.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_n_to_9.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_avd_pathmorph_digits_n_to_m.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/.idea/gradle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_vd_pathmorph_digits_five.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_vd_pathmorph_digits_four.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_vd_pathmorph_digits_nine.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_vd_pathmorph_digits_nth.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_vd_pathmorph_digits_one.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_vd_pathmorph_digits_six.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_vd_pathmorph_digits_two.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_vd_pathmorph_digits_zero.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_vd_pathmorph_digits_eight.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_vd_pathmorph_digits_minus.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_vd_pathmorph_digits_seven.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/src/main/res/drawable/viv_vd_pathmorph_digits_three.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 |
--------------------------------------------------------------------------------
/library/src/main/java/com/qwert2603/vector_integer_view/Utils.java:
--------------------------------------------------------------------------------
1 | package com.qwert2603.vector_integer_view;
2 |
3 | import android.support.annotation.IntRange;
4 | import android.support.annotation.NonNull;
5 |
6 | import java.math.BigInteger;
7 |
8 | class Utils {
9 | static int getDigitCount(@NonNull BigInteger d) {
10 | return String.valueOf(d).length();
11 | }
12 |
13 | @IntRange(from = 0, to = VectorIntegerView.MAX_DIGIT)
14 | static int getDigitAt(@NonNull BigInteger d, int pos) {
15 | String s = String.valueOf(d);
16 | char c = s.charAt(pos);
17 | if (Character.isDigit(c)) return Integer.parseInt(String.valueOf(c));
18 | if (c == '-') return VectorIntegerView.DIGIT_MINUS;
19 | throw new IllegalArgumentException();
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/library/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.library'
2 |
3 | android {
4 | compileSdkVersion 28
5 | defaultConfig {
6 | minSdkVersion 21
7 | targetSdkVersion 28
8 | versionCode 1
9 | versionName "1.0"
10 | }
11 |
12 | resourcePrefix 'viv'
13 |
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | ext.support_version = '28.0.0'
24 | ext.junit_version = '4.12'
25 |
26 | implementation "com.android.support:appcompat-v7:$support_version"
27 | implementation "com.android.support:design:$support_version"
28 |
29 | testImplementation "junit:junit:$junit_version"
30 | }
31 |
--------------------------------------------------------------------------------
/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/library/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 28
5 | defaultConfig {
6 | applicationId "com.qwert2603.vector_integer_view_example"
7 | minSdkVersion 21
8 | targetSdkVersion 28
9 | versionCode 1
10 | versionName "1.0"
11 | }
12 | buildTypes {
13 | release {
14 | shrinkResources true
15 | minifyEnabled true
16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
17 | }
18 | }
19 | }
20 |
21 | dependencies {
22 | implementation project(path: ':library')
23 | // implementation 'com.github.qwert2603:VectorIntegerView:1.2.1'
24 |
25 | ext.support_version = '28.0.0'
26 | implementation "com.android.support:appcompat-v7:$support_version"
27 | implementation "com.android.support:design:$support_version"
28 | }
29 |
--------------------------------------------------------------------------------
/library/src/main/res/values/attrs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/library/src/main/java/com/qwert2603/rename_viv.kt_xt:
--------------------------------------------------------------------------------
1 | import java.io.File
2 | import java.io.FileWriter
3 |
4 | fun main(args: Array) {
5 | val names = arrayOf(
6 | "zero", "one", "two", "three",
7 | "four", "five", "six", "seven",
8 | "eight", "nine", "nth", "minus"
9 | )
10 |
11 | fun getLetter(i: Int) = when (i) {
12 | in 0..9 -> i.toString()
13 | 10 -> "n"
14 | 11 -> "m"
15 | else -> null!!
16 | }
17 |
18 | val dirName = "viv_out"
19 | File(dirName).mkdir()
20 | for (from in 0..11) {
21 | for (to in 0..11) {
22 | if (from == to) continue
23 | FileWriter(File(dirName, "viv_avd_pathmorph_digits_${getLetter(from)}_to_${getLetter(to)}.xml")).use {
24 | it.write("""
25 |
26 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 | """.trimIndent())
45 | }
46 | }
47 | }
48 | }
--------------------------------------------------------------------------------
/.idea/codeStyles/Project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/library/src/test/java/com/qwert2603/vector_integer_view/UtilsTest.java:
--------------------------------------------------------------------------------
1 | package com.qwert2603.vector_integer_view;
2 |
3 | import org.junit.Test;
4 |
5 | import java.math.BigInteger;
6 |
7 | import static org.junit.Assert.*;
8 |
9 | public class UtilsTest {
10 |
11 | @Test
12 | public void getDigitCount() {
13 | assertEquals(1, Utils.getDigitCount(BigInteger.valueOf(0)));
14 | assertEquals(1, Utils.getDigitCount(BigInteger.valueOf(1)));
15 | assertEquals(2, Utils.getDigitCount(BigInteger.valueOf(10)));
16 | assertEquals(2, Utils.getDigitCount(BigInteger.valueOf(42)));
17 | assertEquals(2, Utils.getDigitCount(BigInteger.valueOf(99)));
18 | assertEquals(3, Utils.getDigitCount(BigInteger.valueOf(100)));
19 | assertEquals(3, Utils.getDigitCount(BigInteger.valueOf(853)));
20 | assertEquals(14, Utils.getDigitCount(BigInteger.valueOf(45269739476345L)));
21 | assertEquals(2, Utils.getDigitCount(BigInteger.valueOf(-1)));
22 | assertEquals(2, Utils.getDigitCount(BigInteger.valueOf(-8)));
23 | assertEquals(3, Utils.getDigitCount(BigInteger.valueOf(-18)));
24 | assertEquals(9, Utils.getDigitCount(BigInteger.valueOf(-67645487)));
25 | }
26 |
27 | @Test
28 | public void getDigitAt() {
29 | assertEquals(0, Utils.getDigitAt(BigInteger.valueOf(0), 0));
30 | assertEquals(3, Utils.getDigitAt(BigInteger.valueOf(3), 0));
31 | assertEquals(2, Utils.getDigitAt(BigInteger.valueOf(2918), 0));
32 | assertEquals(9, Utils.getDigitAt(BigInteger.valueOf(2918), 1));
33 | assertEquals(1, Utils.getDigitAt(BigInteger.valueOf(2918), 2));
34 | assertEquals(VectorIntegerView.DIGIT_MINUS, Utils.getDigitAt(BigInteger.valueOf(-2918), 0));
35 | assertEquals(2, Utils.getDigitAt(BigInteger.valueOf(-2918), 1));
36 | assertEquals(9, Utils.getDigitAt(BigInteger.valueOf(-2918), 2));
37 | assertEquals(1, Utils.getDigitAt(BigInteger.valueOf(-10000), 1));
38 | assertEquals(0, Utils.getDigitAt(BigInteger.valueOf(-10000), 2));
39 | assertEquals(7, Utils.getDigitAt(BigInteger.valueOf(-10070), 4));
40 | }
41 | }
--------------------------------------------------------------------------------
/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/app/src/main/java/com/qwert2603/vector_integer_view_example/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.qwert2603.vector_integer_view_example;
2 |
3 | import android.graphics.Color;
4 | import android.support.v7.app.AppCompatActivity;
5 | import android.os.Bundle;
6 | import android.view.View;
7 | import android.widget.CheckBox;
8 | import android.widget.EditText;
9 |
10 | import com.qwert2603.vector_integer_view.VectorIntegerView;
11 |
12 | import java.math.BigInteger;
13 |
14 | public class MainActivity extends AppCompatActivity {
15 |
16 | @Override
17 | protected void onCreate(Bundle savedInstanceState) {
18 | super.onCreate(savedInstanceState);
19 | setContentView(R.layout.activity_main);
20 |
21 | final VectorIntegerView vectorIntegerView = findViewById(R.id.vectorIntegerView);
22 | final VectorIntegerView vectorIntegerView_2 = findViewById(R.id.vectorIntegerView_2);
23 | final CheckBox animateCheckBox = findViewById(R.id.animate_CheckBox);
24 |
25 | findViewById(R.id.plus_Button).setOnClickListener(new View.OnClickListener() {
26 | @Override
27 | public void onClick(View v) {
28 | vectorIntegerView.setInteger(
29 | vectorIntegerView.getInteger().add(BigInteger.ONE),
30 | /* animated = */ animateCheckBox.isChecked()
31 | );
32 | }
33 | });
34 | findViewById(R.id.minus_Button).setOnClickListener(new View.OnClickListener() {
35 | @Override
36 | public void onClick(View v) {
37 | vectorIntegerView.setInteger(
38 | vectorIntegerView.getInteger().subtract(BigInteger.ONE),
39 | animateCheckBox.isChecked()
40 | );
41 | }
42 | });
43 | findViewById(R.id.x17_Button).setOnClickListener(new View.OnClickListener() {
44 | @Override
45 | public void onClick(View v) {
46 | vectorIntegerView.setInteger(
47 | vectorIntegerView.getInteger().multiply(BigInteger.valueOf(17)),
48 | animateCheckBox.isChecked()
49 | );
50 | }
51 | });
52 | findViewById(R.id.setNumber_Button).setOnClickListener(new View.OnClickListener() {
53 | @Override
54 | public void onClick(View v) {
55 | long number = 0;
56 | try {
57 | number = Long.parseLong(((EditText) findViewById(R.id.number_EditText)).getText().toString());
58 | } catch (NumberFormatException ignored) {
59 | }
60 | vectorIntegerView.setInteger(number, animateCheckBox.isChecked());
61 | vectorIntegerView_2.setInteger(number, true);
62 | }
63 | });
64 | findViewById(R.id.red_Button).setOnClickListener(new View.OnClickListener() {
65 | @Override
66 | public void onClick(View v) {
67 | vectorIntegerView.setDigitColor(Color.RED);
68 | }
69 | });
70 | findViewById(R.id.green_Button).setOnClickListener(new View.OnClickListener() {
71 | @Override
72 | public void onClick(View v) {
73 | vectorIntegerView.setDigitColor(Color.GREEN);
74 | }
75 | });
76 | }
77 | }
78 |
--------------------------------------------------------------------------------
/library/src/main/java/com/qwert2603/vector_integer_view/VectorIntegerView.java:
--------------------------------------------------------------------------------
1 | package com.qwert2603.vector_integer_view;
2 |
3 | import android.content.Context;
4 | import android.content.res.TypedArray;
5 | import android.os.Bundle;
6 | import android.os.Parcelable;
7 | import android.support.annotation.ColorInt;
8 | import android.support.annotation.NonNull;
9 | import android.support.v4.content.res.ResourcesCompat;
10 | import android.support.v7.widget.RecyclerView;
11 | import android.util.AttributeSet;
12 | import android.view.LayoutInflater;
13 | import android.view.View;
14 | import android.widget.FrameLayout;
15 |
16 | import java.math.BigInteger;
17 |
18 | /**
19 | * Integer drawables are taken from https://github.com/alexjlockwood/adp-delightful-details
20 | */
21 | public class VectorIntegerView extends FrameLayout {
22 |
23 | private static final String DIGIT_KEY = BuildConfig.APPLICATION_ID + ".DIGIT_KEY";
24 | private static final String SUPER_STATE_KEY = BuildConfig.APPLICATION_ID + ".SUPER_STATE_KEY";
25 |
26 | static final int DIGIT_NTH = 10;
27 | static final int DIGIT_MINUS = 11;
28 | static final int MAX_DIGIT = DIGIT_MINUS;
29 |
30 | private final DigitAdapter mDigitAdapter;
31 |
32 | public VectorIntegerView(Context context, AttributeSet attrs) {
33 | super(context, attrs);
34 | View view = LayoutInflater.from(context).inflate(R.layout.viv_vector_digit_view, this, true);
35 | RecyclerView recyclerView = view.findViewById(R.id.viv_RecyclerView);
36 |
37 | TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.VectorIntegerView);
38 | int digit = typedArray.getInteger(R.styleable.VectorIntegerView_viv_vector_integer, 0);
39 | int defaultDigitColor = ResourcesCompat.getColor(getResources(), R.color.viv_digit_color_default, null);
40 | int digitColor = typedArray.getColor(R.styleable.VectorIntegerView_viv_digit_color, defaultDigitColor);
41 | typedArray.recycle();
42 |
43 | mDigitAdapter = new DigitAdapter();
44 | mDigitAdapter.setDigitColor(digitColor);
45 | recyclerView.setAdapter(mDigitAdapter);
46 | recyclerView.setItemAnimator(new DigitItemAnimator(getResources()));
47 | setInteger(digit, false);
48 | }
49 |
50 | public void setInteger(long digit, boolean animate) {
51 | setInteger(BigInteger.valueOf(digit), animate);
52 | }
53 |
54 | public void setInteger(@NonNull BigInteger digit, boolean animate) {
55 | mDigitAdapter.setInteger(digit);
56 | if (!animate) {
57 | mDigitAdapter.notifyDataSetChanged();
58 | }
59 | }
60 |
61 | @NonNull
62 | public BigInteger getInteger() {
63 | return mDigitAdapter.getInteger();
64 | }
65 |
66 | @ColorInt
67 | public int getDigitColor() {
68 | return mDigitAdapter.getDigitColor();
69 | }
70 |
71 | public void setDigitColor(@ColorInt int digitColor) {
72 | mDigitAdapter.setDigitColor(digitColor);
73 | }
74 |
75 | @Override
76 | protected Parcelable onSaveInstanceState() {
77 | Bundle bundle = new Bundle();
78 | bundle.putParcelable(SUPER_STATE_KEY, super.onSaveInstanceState());
79 | bundle.putSerializable(DIGIT_KEY, getInteger());
80 | return bundle;
81 | }
82 |
83 | @Override
84 | protected void onRestoreInstanceState(Parcelable state) {
85 | if (state instanceof Bundle) {
86 | Bundle bundle = (Bundle) state;
87 | final BigInteger bigInteger = (BigInteger) bundle.getSerializable(DIGIT_KEY);
88 | setInteger(bigInteger != null ? bigInteger : BigInteger.ZERO, false);
89 | state = bundle.getParcelable(SUPER_STATE_KEY);
90 | }
91 | super.onRestoreInstanceState(state);
92 | }
93 | }
94 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # VectorIntegerView
2 |
3 | [](https://jitpack.io/#qwert2603/VectorIntegerView)
4 |
5 | `VectorIntegerView` (viv) is custom view to display integers on Android via great animations `minSdkVersion 21`.
6 |
7 | Paths for vector drawables drawables are taken [here](https://github.com/alexjlockwood/adp-delightful-details).
8 |
9 | ## [Showcase video](https://www.youtube.com/watch?v=tTQlPH3ROMw)
10 |
11 | ## [Demo APK](https://github.com/qwert2603/VectorIntegerView/blob/master/app/demo.apk)
12 |
13 | ## Article on [Habr.com](https://habr.com/post/420919/)
14 |
15 | 
16 |
17 | ## Customizing
18 |
19 | ### `VectorIntegerView` has following XML-attributes:
20 |
21 | * ***viv_vector_integer*** initial integer to show (0 by default).
22 | * ***viv_digit_color*** color of integer (black by default).
23 |
24 | ### Other properties may be configured by overriding resourses from library:
25 | #### (those will be applied to all `VectorIntegerView` in app, for example see [demo-app](https://github.com/qwert2603/VectorIntegerView/tree/master/app))
26 |
27 | * ***@integer/viv_animation_duration*** defines duration of animation (400ms by default).
28 | * ***@dimen/viv_digit_size*** defines size of one digit (24dp by default).
29 | * ***@dimen/viv_digit_translateX*** applied to all avd-digits, to center them horizontally.
30 | * ***@dimen/viv_digit_translateY*** applied to all avd-digits, to center them vertically.
31 | * ***@dimen/viv_digit_strokewidth*** applied to all avd-digits.
32 | * ***@dimen/viv_digit_margin_horizontal*** applied to all digit-views (-3dp by default). This is needed to make horizontal spaces between digits smaller, because avd-digits are square.
33 |
34 | ## In code
35 | ### XML
36 | ```xml
37 |
44 | ```
45 |
46 | ### Java / Kotlin
47 | Digit can be set also via code as `BigInteger` as well as digit color:
48 | ```java
49 | final VectorIntegerView vectorIntegerView = findViewById(R.id.vectorIntegerView);
50 | vectorIntegerView.setInteger(
51 | vectorIntegerView.getInteger().add(BigInteger.ONE),
52 | /* animated = */ true
53 | );
54 | vectorIntegerView.setDigitColor(getColor(R.color.colorAccent));
55 | ```
56 | Also there is overloaded function that allows set integer as ```long```:
57 | ```java
58 | vectorIntegerView.setInteger(1918L, false);
59 | ```
60 | For example see [demo-app](https://github.com/qwert2603/VectorIntegerView/tree/master/app).
61 |
62 | ## Under the hood
63 |
64 | [`VectorIntegerView`](https://github.com/qwert2603/VectorIntegerView/blob/master/library/src/main/java/com/qwert2603/vector_integer_view/VectorIntegerView.java) is implemented by `RecyclerView` and each digit is `ImageView` with `` drawable.
65 |
66 | Animation are controlled by custom `RecyclerView`'s item animator: [`DigitItemAnimator`](https://github.com/qwert2603/VectorIntegerView/blob/master/library/src/main/java/com/qwert2603/vector_integer_view/DigitItemAnimator.java).
67 |
68 | When animated each digit stays on it's own position. This is done via `DiffUtil` in [`DigitAdapter`](https://github.com/qwert2603/VectorIntegerView/blob/master/library/src/main/java/com/qwert2603/vector_integer_view/DigitAdapter.java).
69 |
70 | ## Download
71 |
72 | ```
73 | allprojects {
74 | repositories {
75 | ...
76 | maven { url 'https://jitpack.io' }
77 | }
78 | }
79 | ```
80 |
81 | ```
82 | dependencies {
83 | implementation 'com.github.qwert2603:VectorIntegerView:x.y.z'
84 | }
85 | ```
86 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
21 |
22 |
29 |
30 |
31 |
32 |
41 |
42 |
47 |
48 |
53 |
54 |
60 |
61 |
62 |
63 |
68 |
69 |
75 |
76 |
82 |
83 |
88 |
89 |
90 |
91 |
96 |
97 |
103 |
104 |
109 |
110 |
111 |
112 |
113 |
--------------------------------------------------------------------------------
/library/src/main/java/com/qwert2603/vector_integer_view/DigitItemAnimator.java:
--------------------------------------------------------------------------------
1 | package com.qwert2603.vector_integer_view;
2 |
3 | import android.content.res.Resources;
4 | import android.support.annotation.IntRange;
5 | import android.support.annotation.NonNull;
6 | import android.support.v7.widget.DefaultItemAnimator;
7 | import android.support.v7.widget.RecyclerView;
8 |
9 | import java.util.List;
10 |
11 | class DigitItemAnimator extends DefaultItemAnimator {
12 |
13 | private final int animationDuration;
14 |
15 | private static class VHI extends RecyclerView.ItemAnimator.ItemHolderInfo {
16 | @IntRange(from = 0, to = VectorIntegerView.MAX_DIGIT) final int d;
17 |
18 | VHI(@IntRange(from = 0, to = VectorIntegerView.MAX_DIGIT) int d) {
19 | this.d = d;
20 | }
21 | }
22 |
23 | DigitItemAnimator(@NonNull Resources resources) {
24 | animationDuration = resources.getInteger(R.integer.viv_animation_duration);
25 | }
26 |
27 | @Override
28 | public long getMoveDuration() {
29 | return animationDuration;
30 | }
31 |
32 | @Override
33 | public long getAddDuration() {
34 | return animationDuration;
35 | }
36 |
37 | @Override
38 | public long getRemoveDuration() {
39 | return animationDuration;
40 | }
41 |
42 | @Override
43 | public long getChangeDuration() {
44 | return animationDuration;
45 | }
46 |
47 | @Override
48 | public boolean canReuseUpdatedViewHolder(@NonNull RecyclerView.ViewHolder viewHolder, @NonNull List