File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ Step 2. Add the dependency
3838Step 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)
You can’t perform that action at this time.
0 commit comments