Browse Source

提交人:江天明
提交内容:优化

江天明 1 year ago
parent
commit
d6e9bc430b
1 changed files with 4 additions and 3 deletions
  1. 4 3
      BusinessStep/src/main/res/layout/activity_food_step2.xml

+ 4 - 3
BusinessStep/src/main/res/layout/activity_food_step2.xml

@@ -28,7 +28,7 @@
             app:layout_constraintEnd_toEndOf="parent"
             app:layout_constraintStart_toEndOf="@+id/view_back" />
 
-        <TextView
+        <com.develop.food.base.widgets.MarqueeTextView
             android:id="@+id/tv_title_step"
             android:layout_width="0dp"
             android:layout_height="match_parent"
@@ -36,7 +36,8 @@
             android:layout_marginEnd="@dimen/convert_70px"
             android:ellipsize="end"
             android:gravity="center"
-            android:maxLines="1"
+            android:focusable="true"
+            android:singleLine="true"
             android:text="Step1:Peel 3 onions(180g)and2..."
             android:textColor="#ffffff"
             android:textSize="@dimen/convert_45px"
@@ -56,7 +57,7 @@
         
         <View
             android:id="@+id/view_step_mark"
-            android:layout_marginEnd="@dimen/convert_62px"
+            android:layout_marginEnd="@dimen/convert_84px"
             android:background="@drawable/view_step"
             app:layout_constraintBottom_toBottomOf="parent"
             app:layout_constraintEnd_toEndOf="parent"