Skip to content

Commit

Permalink
Merge pull request #9 from Kiarasht/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
HarlonWang committed Nov 2, 2015
2 parents 5eb7d45 + e19182a commit fbfcd41
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Add dependencies in build.gradle.
Add the AVLoadingIndicatorView to your layout:
```java
<com.wang.avi.AVLoadingIndicatorView
android:id="@+id/avloadingIndicatorView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="visible" //visible or gone
Expand All @@ -43,11 +44,11 @@ Add the AVLoadingIndicatorView to your layout:
It's very simple use just like Progressbar.
```java
void startAnim(){
findViewById(R.id.avloadingIndicatorView).setVisible(View.Visible);
findViewById(R.id.avloadingIndicatorView).setVisibility(View.VISIBLE);
}

void stopAnim(){
findViewById(R.id.avloadingIndicatorView).setVisible(View.Gone);
findViewById(R.id.avloadingIndicatorView).setVisibility(View.GONE);
}

```
Expand Down Expand Up @@ -105,7 +106,7 @@ As seen above in the **Demo**, the indicators are as follows:

##Contact me

if you have a better idea or way on this project, please let me know, thanks:)
If you have a better idea or way on this project, please let me know, thanks :)

[Email](mailto:[email protected])

Expand Down

0 comments on commit fbfcd41

Please sign in to comment.