Skip to content

Commit c2cb1c2

Browse files
authored
Update README.md
1 parent e765061 commit c2cb1c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Android 5.0+ API 21+
1414
app:counter_font="DIGITAL|DIGITAL_BOLD|DIGITAL_ITALIC|DIGITAL_ITALIC_BOLD|REGULAR"
1515

1616
# Usage
17-
// Java
18-
```
17+
### Java
18+
```Java
1919
mCounter = findViewById(R.id.counter);
2020
Date date = format.parse("2019-07-22T18:33:00");
2121
mCounter.setDate(date);//countdown starts
@@ -31,8 +31,8 @@ Android 5.0+ API 21+
3131
mCounter.setTextSize(30);
3232
mCounter.setTypeFace(ResourcesCompat.getFont(this, R.font.batmfa__));
3333
```
34-
//XML
35-
```
34+
### XML
35+
```XML
3636
<com.tsuryo.androidcountdown.Counter
3737
android:id="@+id/counter"
3838
android:layout_width="wrap_content"

0 commit comments

Comments
 (0)