drew 6 年之前
父节点
当前提交
852215c194
共有 1 个文件被更改,包括 14 次插入10 次删除
  1. 14 10
      app/src/main/res/layout/activity_welcome.xml

+ 14 - 10
app/src/main/res/layout/activity_welcome.xml

@@ -80,6 +80,16 @@
         app:layout_constraintRight_toRightOf="parent"
         app:layout_constraintTop_toTopOf="parent">
 
+        <ImageView
+            android:id="@+id/iv_portrait"
+            android:layout_width="311dp"
+            android:layout_height="373dp"
+            android:foregroundGravity="bottom|right"
+            android:scaleType="fitEnd"
+            android:src="@mipmap/portrait"
+            app:layout_constraintBottom_toBottomOf="parent"
+            app:layout_constraintRight_toRightOf="parent" />
+
         <LinearLayout
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
@@ -169,8 +179,10 @@
                 android:layout_width="192dp"
                 android:layout_height="wrap_content"
                 android:layout_marginTop="11dp"
+                android:ellipsize="end"
                 android:fontFamily="@font/source_han_sans_sc_light"
-                android:text="20年从业经验,经历多次牛熊转换磨练,对市场具有一定的敏感度,注重价值投资,资产配置,秉承专业的投资理念服务客户"
+                android:maxLines="4"
+                android:text="20年从业经验,经历多次牛熊转换磨练,对市场具有一定的敏感度,注重价值投资,资产配置,秉承专业的投资理念服务客户20年从业经验,经历多次牛熊转换磨练,对市场具有一定的敏感度,注重价值投资,资产配置,秉承专业的投资理念服务客户"
                 android:textColor="#80ffffff"
                 android:textSize="12sp" />
 
@@ -208,15 +220,7 @@
             </RelativeLayout>
         </LinearLayout>
 
-        <ImageView
-            android:id="@+id/iv_portrait"
-            android:layout_width="311dp"
-            android:layout_height="373dp"
-            android:foregroundGravity="bottom|right"
-            android:scaleType="fitEnd"
-            android:src="@mipmap/portrait"
-            app:layout_constraintBottom_toBottomOf="parent"
-            app:layout_constraintRight_toRightOf="parent" />
+
     </androidx.constraintlayout.widget.ConstraintLayout>
 
     <RelativeLayout