Skip to content

Commit dcead84

Browse files
Reformat code in the sample activity layout file.
1 parent c10828b commit dcead84

File tree

2 files changed

+6
-17
lines changed

2 files changed

+6
-17
lines changed

local.properties

Lines changed: 0 additions & 11 deletions
This file was deleted.

sample/src/main/res/layout/activity_main.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77
tools:context="com.r4sh33d.animatedcounttextview.MainActivity">
88

99
<com.r4sh33d.animatedcounttextview.AnimatedCountTextView
10-
app:startWith="0"
11-
app:endWith="100"
12-
app:duration="4000"
13-
app:suffix="%"
14-
app:numberType="integer"
1510
android:id="@+id/countTextView"
1611
android:layout_width="wrap_content"
1712
android:layout_height="wrap_content"
@@ -21,13 +16,18 @@
2116
android:layout_marginBottom="80dp"
2217
android:text="0"
2318
android:textSize="30sp"
19+
app:duration="4000"
20+
app:endWith="100"
2421
app:layout_constraintBottom_toTopOf="@+id/playButton"
2522
app:layout_constraintEnd_toEndOf="parent"
2623
app:layout_constraintHorizontal_bias="0.5"
2724
app:layout_constraintStart_toStartOf="parent"
2825
app:layout_constraintTop_toTopOf="parent"
2926
app:layout_constraintVertical_bias="0.13"
30-
app:layout_constraintVertical_chainStyle="packed" />
27+
app:layout_constraintVertical_chainStyle="packed"
28+
app:numberType="integer"
29+
app:startWith="0"
30+
app:suffix="%" />
3131

3232
<Button
3333
android:id="@+id/playButton"

0 commit comments

Comments
 (0)