drew 6 years ago
parent
commit
d1e2adc09e
1 changed files with 7 additions and 4 deletions
  1. 7 4
      app/src/main/res/layout/activity_welcome.xml

+ 7 - 4
app/src/main/res/layout/activity_welcome.xml

@@ -116,22 +116,25 @@
 
         <LinearLayout
             android:id="@+id/ll_info"
-            android:layout_width="wrap_content"
+            android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:layout_marginLeft="44dp"
             android:layout_marginTop="73dp"
+            android:layout_marginRight="44dp"
             android:orientation="vertical"
             app:layout_constraintLeft_toLeftOf="parent"
             app:layout_constraintTop_toTopOf="parent">
 
             <TextView
                 android:id="@+id/tv_welcome"
-                android:layout_width="wrap_content"
+                android:layout_width="match_parent"
                 android:layout_height="wrap_content"
+                android:ellipsize="end"
                 android:fontFamily="@font/fzqkbysjw"
-                android:text="欢迎,黄先生"
+                android:maxLines="2"
+                android:text="欢迎"
                 android:textColor="#E4BF85"
-                android:textSize="64sp" />
+                android:textSize="63sp" />
 
             <TextView
                 android:id="@+id/tv3"