MarqueeView icon indicating copy to clipboard operation
MarqueeView copied to clipboard

当文字超过一行且设置了singleLine属性后,滚动效果文字有丢失情况

Open GHpeter opened this issue 3 years ago • 1 comments
trafficstars

GHpeter avatar Jul 18 '22 10:07 GHpeter

xml文件如下所示: <MarqueeView android:id="@+id/tv_remind" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="@dimen/x40" android:layout_marginTop="@dimen/x11" android:background="@drawable/weather_hint_bg_shape" android:paddingStart="@dimen/x10" android:paddingTop="@dimen/x1" android:paddingEnd="@dimen/x10" android:paddingBottom="@dimen/x1" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/ll_left_time_information" app:mvDirection="right_to_left" app:mvSingleLine="true" app:mvTextColor="#80FFFFFF" app:mvTextSize="@dimen/sp_12" tools:text="感冒低发期,天气舒适,请注意多吃蔬菜水果,多喝水哦" tools:textColor="@color/color_black_shadow" />

GHpeter avatar Jul 18 '22 11:07 GHpeter