Browse Source

修改学生端首页UI初始化显示的问题

Pq 3 năm trước cách đây
mục cha
commit
7942e87919
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      student/src/main/res/layout/fragment_home_layout.xml

+ 5 - 5
student/src/main/res/layout/fragment_home_layout.xml

@@ -9,8 +9,8 @@
 
     <androidx.constraintlayout.widget.ConstraintLayout
         android:layout_width="match_parent"
-        android:background="@color/white"
-        android:layout_height="@dimen/dp_80">
+        android:layout_height="@dimen/dp_80"
+        android:background="@color/white">
 
         <de.hdodenhof.circleimageview.CircleImageView
             android:id="@+id/iv_avatar"
@@ -28,12 +28,12 @@
             android:layout_height="wrap_content"
             android:layout_marginLeft="@dimen/dp_10"
             android:text="--"
-            tools:text="aaaa"
             android:textColor="@color/color_333333"
             android:textSize="@dimen/sp_18"
             app:layout_constraintBottom_toBottomOf="@+id/iv_avatar"
             app:layout_constraintLeft_toRightOf="@+id/iv_avatar"
-            app:layout_constraintTop_toTopOf="@+id/iv_avatar" />
+            app:layout_constraintTop_toTopOf="@+id/iv_avatar"
+            tools:text="aaaa" />
 
         <ImageView
             android:id="@+id/im_message"
@@ -121,7 +121,7 @@
                     android:layout_marginTop="@dimen/dp_17"
                     android:layout_marginRight="@dimen/dp_14"
                     android:background="@drawable/bg_white_30dp"
-                    android:visibility="visible">
+                    android:visibility="invisible">
 
                     <de.hdodenhof.circleimageview.CircleImageView
                         android:id="@+id/im_live_header"