Ver Fonte

修改部分样式问题

Pq há 1 ano atrás
pai
commit
d612eccb2a

+ 13 - 10
institution/src/main/res/layout/jg_activity_personal_setting.xml

@@ -26,11 +26,11 @@
                 android:layout_marginStart="14dp"
                 android:layout_marginTop="15dp"
                 android:layout_marginEnd="14dp"
-                android:background="@drawable/bg_white_10dp"
                 app:layout_constraintLeft_toLeftOf="parent"
                 app:layout_constraintTop_toTopOf="parent">
 
                 <androidx.constraintlayout.widget.ConstraintLayout
+                    android:background="@drawable/bg_white_10dp"
                     android:id="@+id/cl_header"
                     android:layout_width="match_parent"
                     android:layout_height="@dimen/dp_80"
@@ -67,18 +67,20 @@
                         app:layout_constraintRight_toRightOf="parent"
                         app:layout_constraintTop_toTopOf="@+id/im_header" />
 
-                    <View
-                        android:layout_width="match_parent"
-                        android:layout_height="1dp"
-                        android:layout_marginLeft="11dp"
-                        android:layout_marginRight="9dp"
-                        android:background="@color/color_f2f2f2"
-                        app:layout_constraintBottom_toBottomOf="parent"
-                        app:layout_constraintLeft_toLeftOf="parent" />
                 </androidx.constraintlayout.widget.ConstraintLayout>
 
+                <View
+                    app:layout_constraintBottom_toBottomOf="@+id/cs_sign_out_accout"
+                    app:layout_constraintRight_toRightOf="@+id/cl_name"
+                    app:layout_constraintLeft_toLeftOf="@+id/cl_name"
+                    app:layout_constraintTop_toTopOf="@+id/cl_name"
+                    android:background="@drawable/bg_white_10dp"
+                    android:layout_width="0dp"
+                    android:layout_height="0dp"/>
+
                 <androidx.constraintlayout.widget.ConstraintLayout
                     android:id="@+id/cl_name"
+                    android:layout_marginTop="12dp"
                     android:layout_width="match_parent"
                     android:layout_height="@dimen/dp_55"
                     app:layout_constraintLeft_toLeftOf="parent"
@@ -197,7 +199,7 @@
                         android:id="@+id/tv_score"
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
-                        android:layout_marginRight="28dp"
+                        android:layout_marginRight="15dp"
                         android:text="--"
                         android:textColor="@color/color_999999"
                         android:textSize="@dimen/sp_16"
@@ -206,6 +208,7 @@
                         app:layout_constraintTop_toTopOf="parent" />
 
                     <ImageView
+                        android:visibility="gone"
                         android:layout_width="@dimen/dp_6"
                         android:layout_height="@dimen/dp_11"
                         android:layout_marginRight="15dp"