Skip to content

Commit 2269a76

Browse files
committed
Rename duration to animation_duration
1 parent cfe2ac2 commit 2269a76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
android:text="@string/lorem_ipsum"
2121
android:maxLines="5"
2222
android:ellipsize="end"
23-
app:duration="1000"/>
23+
app:animation_duration="1000"/>
2424

2525
<TextView
2626
android:layout_width="wrap_content"

app/src/main/res/values/attrs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<resources>
33

44
<declare-styleable name="ExpandableTextView">
5-
<attr name="duration" format="integer"/>
5+
<attr name="animation_duration" format="integer"/>
66
</declare-styleable>
77

88
</resources>

0 commit comments

Comments
 (0)