Skip to content

Commit 62256cb

Browse files
authored
Update README.md
1 parent cb20a4e commit 62256cb

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,54 @@
22

33
# TileProgressView
44
Simple Progress View with Tile Animation
5+
6+
# Usage
7+
8+
```xml
9+
<com.iammert.tileprogressview.TiledProgressView
10+
android:layout_width="match_parent"
11+
android:layout_height="32dp"
12+
android:layout_margin="32dp" />
13+
```
14+
15+
# Modify
16+
17+
```kotlin
18+
tiledProgressView.setProgress(0.3f) //Between 0.0f - 1.0f
19+
tiledProgressView.setLoadingColor(R.color.purple) //Color Resource
20+
```
21+
22+
23+
# Setup
24+
```gradle
25+
allprojects {
26+
repositories {
27+
...
28+
maven { url 'https://jitpack.io' }
29+
}
30+
}
31+
32+
dependencies {
33+
implementation 'com.github.iammert:TileProgressView:0.1'
34+
}
35+
```
36+
37+
License
38+
--------
39+
40+
41+
Copyright 2020 Mert Şimşek
42+
43+
Licensed under the Apache License, Version 2.0 (the "License");
44+
you may not use this file except in compliance with the License.
45+
You may obtain a copy of the License at
46+
47+
http://www.apache.org/licenses/LICENSE-2.0
48+
49+
Unless required by applicable law or agreed to in writing, software
50+
distributed under the License is distributed on an "AS IS" BASIS,
51+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
52+
See the License for the specific language governing permissions and
53+
limitations under the License.
54+
55+

0 commit comments

Comments
 (0)