drew 6 жил өмнө
parent
commit
d1e2adc09e

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

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