We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e765061 commit c2cb1c2Copy full SHA for c2cb1c2
README.md
@@ -14,8 +14,8 @@ Android 5.0+ API 21+
14
app:counter_font="DIGITAL|DIGITAL_BOLD|DIGITAL_ITALIC|DIGITAL_ITALIC_BOLD|REGULAR"
15
16
# Usage
17
-// Java
18
-```
+### Java
+```Java
19
mCounter = findViewById(R.id.counter);
20
Date date = format.parse("2019-07-22T18:33:00");
21
mCounter.setDate(date);//countdown starts
@@ -31,8 +31,8 @@ Android 5.0+ API 21+
31
mCounter.setTextSize(30);
32
mCounter.setTypeFace(ResourcesCompat.getFont(this, R.font.batmfa__));
33
```
34
-//XML
35
+### XML
+```XML
36
<com.tsuryo.androidcountdown.Counter
37
android:id="@+id/counter"
38
android:layout_width="wrap_content"
0 commit comments