Skip to content

Commit 8e9e818

Browse files
authored
Update README.md
1 parent 5c57269 commit 8e9e818

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ Step 2. Add the dependency
3838
Step 1. Add the JitPack repository to your build file
3939
4040
```sh
41-
<repositories>
42-
<repository>
43-
<id>jitpack.io</id>
44-
<url>https://jitpack.io</url>
45-
</repository>
41+
<repositories>
42+
<repository>
43+
<id>jitpack.io</id>
44+
<url>https://jitpack.io</url>
45+
</repository>
4646
</repositories>
4747
```
4848
@@ -62,18 +62,18 @@ Step 2. Add the dependency
6262
6363
```sh
6464
<believe.cht.fadeintextview.TextView
65-
android:id="@+id/textView"
66-
android:layout_width="match_parent"
67-
android:layout_height="wrap_content"
68-
android:textSize="30sp"
69-
android:textColor="@android:color/black"
70-
app:letterDuration="250"/>
65+
android:id="@+id/textView"
66+
android:layout_width="match_parent"
67+
android:layout_height="wrap_content"
68+
android:textSize="30sp"
69+
android:textColor="@android:color/black"
70+
app:letterDuration="250"/>
7171
```
7272
7373
### In the Java class
7474
7575
```sh
76-
believe.cht.fadeintextview.TextView textView textView = (believe.cht.fadeintextview.TextView) findViewById(R.id.textView);
76+
believe.cht.fadeintextview.TextView textView textView = (believe.cht.fadeintextview.TextView) findViewById(R.id.textView);
7777

7878
textView.setLetterDuration(250); // sets letter duration programmatically
7979
textView.isAnimating(); // returns current animation state (boolean)

0 commit comments

Comments
 (0)