Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vlonjat-gashi committed Feb 1, 2017
2 parents 4eab41b + 079486e commit ae3c907
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Using progress-activity which extends from RelativeLayout, you can easily add st
Add ```com.vlonjatg.progressactivity.ProgressActivity``` to your layout.

```xml
<com.vlonjatg.progressactivity.ProgressActivity
<com.vlonjatg.progressactivity.ProgressRelativeLayout
android:id="@+id/progressActivity"
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand All @@ -46,7 +46,7 @@ Add ```com.vlonjatg.progressactivity.ProgressActivity``` to your layout.
android:gravity="center"
android:text="@string/hello_world" />

</com.vlonjatg.progressactivity.ProgressActivity>
</com.vlonjatg.progressactivity.ProgressRelativeLayout>
```

Then in your code:
Expand Down Expand Up @@ -86,7 +86,7 @@ repositories {
}
dependencies {
compile 'com.github.vlonjatg:progress-activity:v1.0.3'
compile 'com.github.vlonjatg:progress-activity:v2.0.1'
}
```
Expand All @@ -97,6 +97,7 @@ There are a bunch of attributes to customize the views.
```xml
<attr name="loadingProgressBarWidth" format="dimension"/>
<attr name="loadingProgressBarHeight" format="dimension"/>
<attr name="loadingProgressBarColor" format="color"/>
<attr name="loadingBackgroundColor" format="color"/>
<attr name="emptyImageWidth" format="dimension"/>
Expand All @@ -114,6 +115,7 @@ There are a bunch of attributes to customize the views.
<attr name="errorTitleTextColor" format="color"/>
<attr name="errorContentTextColor" format="color"/>
<attr name="errorButtonTextColor" format="color"/>
<attr name="errorButtonBackgroundColor" format="color"/>
<attr name="errorBackgroundColor" format="color"/>
```
Expand Down

0 comments on commit ae3c907

Please sign in to comment.