|
| 1 | +ArcProgressStackView |
| 2 | +=================== |
| 3 | +Present your progress bars in arc mode with information and total control. |
| 4 | + |
| 5 | +View size, CB controls |Typeface, animation |Draw width, offset, gradient |Angle, orientation |Shadow |
| 6 | +:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------: |
| 7 | +|||| |
| 8 | + |
| 9 | +U can check the sample app [here](https://github.com/GIGAMOLE/ArcProgressStackView/tree/master/app). |
| 10 | + |
| 11 | +Download |
| 12 | +------------ |
| 13 | + |
| 14 | +You can download a .jar from GitHub's [releases page](https://github.com/GIGAMOLE/ArcProgressStackView/releases). |
| 15 | + |
| 16 | +Or use Gradle jCenter: |
| 17 | + |
| 18 | + dependencies { |
| 19 | + repositories { |
| 20 | + mavenCentral() |
| 21 | + maven { |
| 22 | + url 'http://dl.bintray.com/gigamole/maven/' |
| 23 | + } |
| 24 | + } |
| 25 | + compile 'com.github.gigamole.arcprogressstackview:library:+' |
| 26 | + } |
| 27 | + |
| 28 | +Or Gradle Maven Central: |
| 29 | + |
| 30 | + compile 'com.github.gigamole.arcprogressstackview:library:1.0.0' |
| 31 | + |
| 32 | +Or Maven: |
| 33 | + |
| 34 | + <dependency> |
| 35 | + <groupId>com.github.gigamole.arcprogressstackview</groupId> |
| 36 | + <artifactId>library</artifactId> |
| 37 | + <version>1.0.0</version> |
| 38 | + <type>aar</type> |
| 39 | + </dependency> |
| 40 | + |
| 41 | +Android SDK Version |
| 42 | +========= |
| 43 | +ArcProgressStackView requires a minimum sdk version of 8, but if you want animation and shadow support it requires a minimum sdk version of 11. |
| 44 | + |
| 45 | +Sample |
| 46 | +======== |
| 47 | + |
| 48 | +You can set such parameters as: |
| 49 | + |
| 50 | + - colors: |
| 51 | + |
| 52 | + allows you to create shadow with transparent etc. |
| 53 | + - angle: |
| 54 | + |
| 55 | + allows you to set the angle of tint. |
| 56 | + |
| 57 | +ArcProgressStackView must have child. Only one child. |
| 58 | + |
| 59 | +The angle can only be positive and be in range from 0 to 360. |
| 60 | + |
| 61 | +Check out in code init: |
| 62 | + |
| 63 | + final ArcProgressStackView tintLayout = (ArcProgressStackView) findViewById(R.id.tint_layout); |
| 64 | + tintLayout.setAngle(145); |
| 65 | + |
| 66 | +And XML init: |
| 67 | + |
| 68 | + <com.gigamole.tintlayout.lib.ArcProgressStackView |
| 69 | + android:id="@+id/tint_layout" |
| 70 | + android:layout_width="300dp" |
| 71 | + android:layout_height="300dp" |
| 72 | + android:layout_gravity="center" |
| 73 | + android:background="@drawable/circle" |
| 74 | + libs:colors="@array/tint_layout_colors"> |
| 75 | + |
| 76 | + <com.gigamole.tintlayout.AgencyTextView |
| 77 | + android:layout_width="match_parent" |
| 78 | + android:layout_height="wrap_content" |
| 79 | + android:layout_gravity="center" |
| 80 | + android:gravity="center" |
| 81 | + android:text="@string/tint_layout_title" |
| 82 | + android:textColor="@color/white" |
| 83 | + android:textSize="50sp" |
| 84 | + libs:agencyFont="agency_bold" /> |
| 85 | + |
| 86 | + </com.gigamole.tintlayout.lib.ArcProgressStackView> |
| 87 | + |
| 88 | +If you want to look at circular tint animation just remove comment block in sample from XML and MainActivity. |
| 89 | + |
| 90 | +Getting Help |
| 91 | +====== |
| 92 | + |
| 93 | +To report a specific problem or feature request, [open a new issue on Github](https://github.com/GIGAMOLE/ArcProgressStackView/issues/new). |
| 94 | + |
| 95 | +License |
| 96 | +====== |
| 97 | + |
| 98 | +Apache 2.0. See LICENSE file for details. |
| 99 | + |
| 100 | +Inspiration |
| 101 | +====== |
| 102 | + |
| 103 | +[Here](https://www.behance.net/gallery/33128783/12-weeks-marathon-in-Sketch), [here](https://www.pinterest.com/pin/460915343094746684/), [here] (https://www.pinterest.com/pin/531424824760607320/), also [here] (https://www.pinterest.com/pin/149111437639569450/) and [here] (https://www.pinterest.com/pin/438538082442328565/) |
| 104 | + |
| 105 | +Author |
| 106 | +======= |
| 107 | + |
| 108 | +Basil Miller - @gigamole |
0 commit comments