Skip to content

Commit 084cdd4

Browse files
author
“xiaohaibin
committed
更新2.0.3版本,修复轮播条数为4时,数组越界问题
1 parent d135e0e commit 084cdd4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<com.stx.xmarqueeview.XMarqueeView
2323
android:id="@+id/marquee1"
2424
android:layout_width="0dp"
25-
android:layout_height="match_parent"
25+
android:layout_height="wrap_content"
2626
android:layout_weight="1"
2727
app:isSetAnimDuration="true"
2828
app:isSingleLine="true" />
@@ -53,7 +53,7 @@
5353
<com.stx.xmarqueeview.XMarqueeView
5454
android:id="@+id/marquee2"
5555
android:layout_width="0dp"
56-
android:layout_height="match_parent"
56+
android:layout_height="wrap_content"
5757
android:layout_weight="1"
5858
app:isSetAnimDuration="true"
5959
app:marquee_count="2" />
@@ -83,7 +83,7 @@
8383
<com.stx.xmarqueeview.XMarqueeView
8484
android:id="@+id/marquee3"
8585
android:layout_width="0dp"
86-
android:layout_height="match_parent"
86+
android:layout_height="wrap_content"
8787
android:layout_weight="1"
8888
app:isSetAnimDuration="true"
8989
app:marquee_count="3" />

0 commit comments

Comments
 (0)