react-native-gizwits-scroll-ruler 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/android/build/.transforms/7e55cc881a553e6d2178fb1afedc0ab0/classes/classes.dex +0 -0
  2. package/android/build/.transforms/7e55cc881a553e6d2178fb1afedc0ab0.bin +1 -0
  3. package/android/build/.transforms/9e5829fa7c8e6f300b8bf8f53c1ae6e1/classes/classes.dex +0 -0
  4. package/android/build/.transforms/9e5829fa7c8e6f300b8bf8f53c1ae6e1.bin +1 -0
  5. package/android/build/generated/source/buildConfig/debug/com/shenhuniurou/scrollruler/BuildConfig.java +18 -0
  6. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +11 -0
  7. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output.json +1 -0
  8. package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +1 -0
  9. package/android/build/intermediates/compile_library_classes/debug/classes.jar +0 -0
  10. package/android/build/intermediates/compile_only_not_namespaced_r_class_jar/debug/R.jar +0 -0
  11. package/android/build/intermediates/incremental/debug-mergeNativeLibs/merge-state +0 -0
  12. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  13. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  14. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
  15. package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +1 -0
  16. package/android/build/intermediates/incremental/packageDebugResources/merged.dir/values/values.xml +31 -0
  17. package/android/build/intermediates/incremental/packageDebugResources/merger.xml +54 -0
  18. package/android/build/intermediates/javac/debug/classes/com/shenhuniurou/scrollruler/BuildConfig.class +0 -0
  19. package/android/build/intermediates/javac/debug/classes/com/shenhuniurou/scrollruler/RNScrollRuler$1.class +0 -0
  20. package/android/build/intermediates/javac/debug/classes/com/shenhuniurou/scrollruler/RNScrollRuler$2.class +0 -0
  21. package/android/build/intermediates/javac/debug/classes/com/shenhuniurou/scrollruler/RNScrollRuler$3.class +0 -0
  22. package/android/build/intermediates/javac/debug/classes/com/shenhuniurou/scrollruler/RNScrollRuler$4.class +0 -0
  23. package/android/build/intermediates/javac/debug/classes/com/shenhuniurou/scrollruler/RNScrollRuler$5.class +0 -0
  24. package/android/build/intermediates/javac/debug/classes/com/shenhuniurou/scrollruler/RNScrollRuler$6.class +0 -0
  25. package/android/build/intermediates/javac/debug/classes/com/shenhuniurou/scrollruler/RNScrollRuler$OnChooseResulterListener.class +0 -0
  26. package/android/build/intermediates/javac/debug/classes/com/shenhuniurou/scrollruler/RNScrollRuler.class +0 -0
  27. package/android/build/intermediates/javac/debug/classes/com/shenhuniurou/scrollruler/RNScrollRulerManager$1.class +0 -0
  28. package/android/build/intermediates/javac/debug/classes/com/shenhuniurou/scrollruler/RNScrollRulerManager.class +0 -0
  29. package/android/build/intermediates/javac/debug/classes/com/shenhuniurou/scrollruler/RNScrollRulerPackage.class +0 -0
  30. package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
  31. package/android/build/intermediates/library_manifest/debug/AndroidManifest.xml +11 -0
  32. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLibraryResources/R-def.txt +28 -0
  33. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +13 -0
  34. package/android/build/intermediates/merged_manifests/debug/output.json +1 -0
  35. package/android/build/intermediates/packaged_res/debug/values/values.xml +31 -0
  36. package/android/build/intermediates/res/symbol-table-with-package/debug/package-aware-r.txt +1361 -0
  37. package/android/build/intermediates/runtime_library_classes/debug/classes.jar +0 -0
  38. package/android/build/intermediates/symbols/debug/R.txt +1942 -0
  39. package/android/build/outputs/logs/manifest-merger-debug-report.txt +37 -0
  40. package/android/build.gradle +22 -0
  41. package/android/src/main/AndroidManifest.xml +2 -0
  42. package/android/src/main/java/com/shenhuniurou/scrollruler/RNScrollRuler.java +739 -0
  43. package/android/src/main/java/com/shenhuniurou/scrollruler/RNScrollRulerManager.java +84 -0
  44. package/android/src/main/java/com/shenhuniurou/scrollruler/RNScrollRulerPackage.java +40 -0
  45. package/android/src/main/res/values/attrs.xml +30 -0
  46. package/android/src/main/res/values/strings.xml +3 -0
  47. package/index.android.js +72 -0
  48. package/index.ios.js +73 -0
  49. package/index.js +9 -0
  50. package/ios/RCTScrollRuler/RCTScrollRuler.h +44 -0
  51. package/ios/RCTScrollRuler/RCTScrollRuler.m +543 -0
  52. package/ios/RCTScrollRuler/RCTScrollRulerManager.h +13 -0
  53. package/ios/RCTScrollRuler/RCTScrollRulerManager.m +62 -0
  54. package/ios/RCTScrollRuler.xcodeproj/project.pbxproj +299 -0
  55. package/ios/RCTScrollRuler.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  56. package/ios/RCTScrollRuler.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  57. package/ios/RCTScrollRuler.xcodeproj/project.xcworkspace/xcuserdata/Daniel.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  58. package/ios/RCTScrollRuler.xcodeproj/xcuserdata/Daniel.xcuserdatad/xcschemes/RCTScrollRuler.xcscheme +80 -0
  59. package/ios/RCTScrollRuler.xcodeproj/xcuserdata/Daniel.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
  60. package/package.json +16 -0
  61. package/react-native-scroll-ruler.podspec +19 -0
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Automatically generated file. DO NOT MODIFY
3
+ */
4
+ package com.shenhuniurou.scrollruler;
5
+
6
+ public final class BuildConfig {
7
+ public static final boolean DEBUG = Boolean.parseBoolean("true");
8
+ public static final String LIBRARY_PACKAGE_NAME = "com.shenhuniurou.scrollruler";
9
+ /**
10
+ * @deprecated APPLICATION_ID is misleading in libraries. For the library package name use LIBRARY_PACKAGE_NAME
11
+ */
12
+ @Deprecated
13
+ public static final String APPLICATION_ID = "com.shenhuniurou.scrollruler";
14
+ public static final String BUILD_TYPE = "debug";
15
+ public static final String FLAVOR = "";
16
+ public static final int VERSION_CODE = 1;
17
+ public static final String VERSION_NAME = "1.0";
18
+ }
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
+ package="com.shenhuniurou.scrollruler"
4
+ android:versionCode="1"
5
+ android:versionName="1.0" >
6
+
7
+ <uses-sdk
8
+ android:minSdkVersion="16"
9
+ android:targetSdkVersion="23" />
10
+
11
+ </manifest>
@@ -0,0 +1 @@
1
+ [{"outputType":{"type":"AAPT_FRIENDLY_MERGED_MANIFESTS"},"apkData":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0","enabled":true,"outputFile":"react-native-scroll-ruler-debug.aar","fullName":"debug","baseName":"debug"},"path":"AndroidManifest.xml","properties":{"packageId":"com.shenhuniurou.scrollruler","split":""}}]
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/main/jniLibs"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/debug/jniLibs"/></dataSet></merger>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/main/shaders"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/debug/shaders"/></dataSet></merger>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/main/assets"/><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/build/intermediates/shader_assets/debug/compileDebugShaders/out"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/debug/assets"/></dataSet></merger>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <resources>
3
+ <string name="app_name">RNScrollRuler</string>
4
+ <declare-styleable name="RulerView">
5
+ <attr format="dimension" name="rulerHeight"/> <!--尺子的高度-->
6
+ <attr format="dimension" name="rulerToResultgap"/> <!--尺子距离结果的高度-->
7
+ <attr format="dimension" name="scaleGap"/> <!--刻度间距-->
8
+ <attr format="integer" name="scaleCount"/> <!--刻度数-->
9
+ <attr format="integer" name="firstScale"/> <!--默认选中的刻度-->
10
+ <attr format="integer" name="maxScale"/> <!--最大刻度-->
11
+ <attr format="integer" name="minScale"/> <!--最小刻度-->
12
+ <attr format="color" name="bgColor"/> <!--背景色-->
13
+ <attr format="color" name="smallScaleColor"/> <!--小刻度的颜色-->
14
+ <attr format="color" name="midScaleColor"/> <!--中刻度的颜色-->
15
+ <attr format="color" name="largeScaleColor"/> <!--大刻度的颜色-->
16
+ <attr format="color" name="scaleNumColor"/> <!--刻度数的颜色-->
17
+ <attr format="color" name="resultNumColor"/> <!--结果字体的颜色-->
18
+ <attr format="dimension" name="smallScaleStroke"/> <!--小刻度的宽度-->
19
+ <attr format="dimension" name="midScaleStroke"/> <!--中刻度的宽度-->
20
+ <attr format="dimension" name="largeScaleStroke"/> <!--大刻度的宽度-->
21
+ <attr format="dimension" name="resultNumTextSize"/> <!--结果字体大小-->
22
+ <attr format="dimension" name="scaleNumTextSize"/> <!--刻度字体大小-->
23
+ <attr format="boolean" name="showScaleResult"/> <!--是否显示结果值-->
24
+ <attr format="boolean" name="isBgRoundRect"/> <!--背景是否圆角-->
25
+ <attr format="integer" name="scaleLimit"/> <!--相邻2个刻度之间的数量-->
26
+ <attr format="string" name="unit"/> <!--单位-->
27
+ <attr format="color" name="unitColor"/> <!--单位颜色-->
28
+ <attr format="dimension" name="unitTextSize"/> <!--单位字体大小-->
29
+
30
+ </declare-styleable>
31
+ </resources>
@@ -0,0 +1,54 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/main/res"/><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/build/generated/res/rs/debug"/><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/build/generated/res/resValues/debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/main/res"><file path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/main/res/values/strings.xml" qualifiers=""><string name="app_name">RNScrollRuler</string></file><file path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/main/res/values/attrs.xml" qualifiers=""><declare-styleable name="RulerView">
3
+ <attr format="dimension" name="rulerHeight"/>
4
+ <attr format="dimension" name="rulerToResultgap"/>
5
+ <attr format="dimension" name="scaleGap"/>
6
+ <attr format="integer" name="scaleCount"/>
7
+ <attr format="integer" name="firstScale"/>
8
+ <attr format="integer" name="maxScale"/>
9
+ <attr format="integer" name="minScale"/>
10
+ <attr format="color" name="bgColor"/>
11
+ <attr format="color" name="smallScaleColor"/>
12
+ <attr format="color" name="midScaleColor"/>
13
+ <attr format="color" name="largeScaleColor"/>
14
+ <attr format="color" name="scaleNumColor"/>
15
+ <attr format="color" name="resultNumColor"/>
16
+ <attr format="dimension" name="smallScaleStroke"/>
17
+ <attr format="dimension" name="midScaleStroke"/>
18
+ <attr format="dimension" name="largeScaleStroke"/>
19
+ <attr format="dimension" name="resultNumTextSize"/>
20
+ <attr format="dimension" name="scaleNumTextSize"/>
21
+ <attr format="boolean" name="showScaleResult"/>
22
+ <attr format="boolean" name="isBgRoundRect"/>
23
+ <attr format="integer" name="scaleLimit"/>
24
+ <attr format="string" name="unit"/>
25
+ <attr format="color" name="unitColor"/>
26
+ <attr format="dimension" name="unitTextSize"/>
27
+
28
+ </declare-styleable></file></source><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/build/generated/res/rs/debug"/><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/build/generated/res/resValues/debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/debug/res"/></dataSet><mergedItems><configuration qualifiers=""><declare-styleable name="RulerView">
29
+ <attr format="dimension" name="rulerHeight"/>
30
+ <attr format="dimension" name="rulerToResultgap"/>
31
+ <attr format="dimension" name="scaleGap"/>
32
+ <attr format="integer" name="scaleCount"/>
33
+ <attr format="integer" name="firstScale"/>
34
+ <attr format="integer" name="maxScale"/>
35
+ <attr format="integer" name="minScale"/>
36
+ <attr format="color" name="bgColor"/>
37
+ <attr format="color" name="smallScaleColor"/>
38
+ <attr format="color" name="midScaleColor"/>
39
+ <attr format="color" name="largeScaleColor"/>
40
+ <attr format="color" name="scaleNumColor"/>
41
+ <attr format="color" name="resultNumColor"/>
42
+ <attr format="dimension" name="smallScaleStroke"/>
43
+ <attr format="dimension" name="midScaleStroke"/>
44
+ <attr format="dimension" name="largeScaleStroke"/>
45
+ <attr format="dimension" name="resultNumTextSize"/>
46
+ <attr format="dimension" name="scaleNumTextSize"/>
47
+ <attr format="boolean" name="showScaleResult"/>
48
+ <attr format="boolean" name="isBgRoundRect"/>
49
+ <attr format="integer" name="scaleLimit"/>
50
+ <attr format="string" name="unit"/>
51
+ <attr format="color" name="unitColor"/>
52
+ <attr format="dimension" name="unitTextSize"/>
53
+
54
+ </declare-styleable></configuration></mergedItems></merger>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
+ package="com.shenhuniurou.scrollruler"
4
+ android:versionCode="1"
5
+ android:versionName="1.0" >
6
+
7
+ <uses-sdk
8
+ android:minSdkVersion="16"
9
+ android:targetSdkVersion="23" />
10
+
11
+ </manifest>
@@ -0,0 +1,28 @@
1
+ R_DEF: Internal format may change without notice
2
+ local
3
+ attr? bgColor
4
+ attr? firstScale
5
+ attr? isBgRoundRect
6
+ attr? largeScaleColor
7
+ attr? largeScaleStroke
8
+ attr? maxScale
9
+ attr? midScaleColor
10
+ attr? midScaleStroke
11
+ attr? minScale
12
+ attr? resultNumColor
13
+ attr? resultNumTextSize
14
+ attr? rulerHeight
15
+ attr? rulerToResultgap
16
+ attr? scaleCount
17
+ attr? scaleGap
18
+ attr? scaleLimit
19
+ attr? scaleNumColor
20
+ attr? scaleNumTextSize
21
+ attr? showScaleResult
22
+ attr? smallScaleColor
23
+ attr? smallScaleStroke
24
+ attr? unit
25
+ attr? unitColor
26
+ attr? unitTextSize
27
+ string app_name
28
+ styleable RulerView rulerHeight rulerToResultgap scaleGap scaleCount firstScale maxScale minScale bgColor smallScaleColor midScaleColor largeScaleColor scaleNumColor resultNumColor smallScaleStroke midScaleStroke largeScaleStroke resultNumTextSize scaleNumTextSize showScaleResult isBgRoundRect scaleLimit unit unitColor unitTextSize
@@ -0,0 +1,13 @@
1
+ 1<?xml version="1.0" encoding="utf-8"?>
2
+ 2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
+ 3 package="com.shenhuniurou.scrollruler"
4
+ 4 android:versionCode="1"
5
+ 5 android:versionName="1.0" >
6
+ 6
7
+ 7 <uses-sdk
8
+ 8 android:minSdkVersion="16"
9
+ 8-->/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/main/AndroidManifest.xml
10
+ 9 android:targetSdkVersion="23" />
11
+ 9-->/Users/Kylewang/Documents/Project/gizwits-super-app-bt/node_modules/react-native-scroll-ruler/android/src/main/AndroidManifest.xml
12
+ 10
13
+ 11</manifest>
@@ -0,0 +1 @@
1
+ [{"outputType":{"type":"MERGED_MANIFESTS"},"apkData":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0","enabled":true,"outputFile":"react-native-scroll-ruler-debug.aar","fullName":"debug","baseName":"debug"},"path":"../../library_manifest/debug/AndroidManifest.xml","properties":{"packageId":"com.shenhuniurou.scrollruler","split":""}}]
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <resources>
3
+ <string name="app_name">RNScrollRuler</string>
4
+ <declare-styleable name="RulerView">
5
+ <attr format="dimension" name="rulerHeight"/> <!--尺子的高度-->
6
+ <attr format="dimension" name="rulerToResultgap"/> <!--尺子距离结果的高度-->
7
+ <attr format="dimension" name="scaleGap"/> <!--刻度间距-->
8
+ <attr format="integer" name="scaleCount"/> <!--刻度数-->
9
+ <attr format="integer" name="firstScale"/> <!--默认选中的刻度-->
10
+ <attr format="integer" name="maxScale"/> <!--最大刻度-->
11
+ <attr format="integer" name="minScale"/> <!--最小刻度-->
12
+ <attr format="color" name="bgColor"/> <!--背景色-->
13
+ <attr format="color" name="smallScaleColor"/> <!--小刻度的颜色-->
14
+ <attr format="color" name="midScaleColor"/> <!--中刻度的颜色-->
15
+ <attr format="color" name="largeScaleColor"/> <!--大刻度的颜色-->
16
+ <attr format="color" name="scaleNumColor"/> <!--刻度数的颜色-->
17
+ <attr format="color" name="resultNumColor"/> <!--结果字体的颜色-->
18
+ <attr format="dimension" name="smallScaleStroke"/> <!--小刻度的宽度-->
19
+ <attr format="dimension" name="midScaleStroke"/> <!--中刻度的宽度-->
20
+ <attr format="dimension" name="largeScaleStroke"/> <!--大刻度的宽度-->
21
+ <attr format="dimension" name="resultNumTextSize"/> <!--结果字体大小-->
22
+ <attr format="dimension" name="scaleNumTextSize"/> <!--刻度字体大小-->
23
+ <attr format="boolean" name="showScaleResult"/> <!--是否显示结果值-->
24
+ <attr format="boolean" name="isBgRoundRect"/> <!--背景是否圆角-->
25
+ <attr format="integer" name="scaleLimit"/> <!--相邻2个刻度之间的数量-->
26
+ <attr format="string" name="unit"/> <!--单位-->
27
+ <attr format="color" name="unitColor"/> <!--单位颜色-->
28
+ <attr format="dimension" name="unitTextSize"/> <!--单位字体大小-->
29
+
30
+ </declare-styleable>
31
+ </resources>