From 2b6fd0451bfa358052ac9eb061ec1ed595587e9e Mon Sep 17 00:00:00 2001 From: Linjiajia <319408893@qq.com> Date: 星期二, 04 四月 2023 19:52:32 +0800 Subject: [PATCH] 改bug、 --- app/src/main/res/layout/activity_growth_experience.xml | 639 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 639 insertions(+), 0 deletions(-) diff --git a/app/src/main/res/layout/activity_growth_experience.xml b/app/src/main/res/layout/activity_growth_experience.xml new file mode 100644 index 0000000..df8eb8f --- /dev/null +++ b/app/src/main/res/layout/activity_growth_experience.xml @@ -0,0 +1,639 @@ +<?xml version="1.0" encoding="utf-8"?> +<layout xmlns:tools="http://schemas.android.com/tools" + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + + <data> + <variable + name="viewModel" + type="com.application.zhangshi_app_android.ui.function.GrowthExperienceActivityViewModel" /> + </data> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@color/color_normal_background" + android:orientation="vertical" + > + <com.android.app_base.widget.ExtendTitleBar + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:title="鎴愰暱缁忓巻" + app:titleGravity="left" + /> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:paddingHorizontal="20dp" + > + <androidx.core.widget.NestedScrollView + android:layout_width="match_parent" + android:layout_height="wrap_content" + > + <androidx.constraintlayout.widget.ConstraintLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingBottom="@dimen/dp_10" + > + <TextView + android:id="@+id/tv_basic_information" + android:layout_width="wrap_content" + android:layout_marginTop="@dimen/dp_10" + android:layout_height="wrap_content" + android:text="鍩烘湰淇℃伅" + android:textColor="#ff000000" + android:textSize="@dimen/sp_20" + android:textStyle="bold" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + <LinearLayout + android:id="@+id/layout_1" + android:layout_width="140dp" + android:layout_height="wrap_content" + android:layout_marginTop="10dp" + android:orientation="vertical" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/tv_basic_information" + > + + <TextView + android:id="@+id/tv_name" + android:layout_width="wrap_content" + android:layout_height="@dimen/dp_20" + android:text="濮撳悕" + android:textColor="#88000000" + android:textSize="@dimen/sp_12" /> + + <TextView + android:id="@+id/editText_name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:autofillHints="creditCardNumber" + android:textColor="#DE000000" + android:textColorHint="#6b000000" + android:textSize="@dimen/sp_16" + tools:text="寮犱笁" /> + + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_marginTop="5dp" + android:background="#6B000000" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/layout_2" + android:layout_width="140dp" + android:layout_height="wrap_content" + android:orientation="vertical" + android:layout_marginTop="20dp" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/layout_1"> + + <TextView + android:id="@+id/tv_usedName" + android:layout_width="wrap_content" + android:layout_height="@dimen/dp_20" + android:text="鏇剧敤鍚�" + android:textColor="#88000000" + android:textSize="@dimen/sp_12" /> + + <TextView + android:id="@+id/editText_usedName" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:autofillHints="creditCardNumber" + android:textColor="#DE000000" + android:textSize="@dimen/sp_16" + tools:text="寮犲洓" + /> + + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_marginTop="5dp" + android:background="#6B000000" /> + + </LinearLayout> + + <ImageView + android:layout_width="100dp" + android:layout_height="127dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="@+id/layout_1" + android:layout_marginEnd="20dp" + /> + + <LinearLayout + android:id="@+id/layout_3_1" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginTop="20dp" + android:orientation="vertical" + app:layout_constraintEnd_toEndOf="@+id/layout_2" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintStart_toStartOf="@+id/layout_2" + app:layout_constraintTop_toBottomOf="@id/layout_2"> + + <TextView + android:id="@+id/tv_gender" + android:layout_width="wrap_content" + android:layout_height="@dimen/dp_20" + android:text="鎬у埆" + android:textColor="#88000000" + android:textSize="@dimen/sp_12" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:autofillHints="creditCardNumber" + android:textColor="#DE000000" + android:textColorHint="#6b000000" + android:textSize="@dimen/sp_16" + tools:text="鐢�" + /> + + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_marginTop="5dp" + android:background="#6B000000" /> + </LinearLayout> + + <LinearLayout + android:layout_width="140dp" + android:layout_height="wrap_content" + android:orientation="vertical" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="@+id/layout_3_1" + > + + <TextView + android:layout_width="wrap_content" + android:layout_height="@dimen/dp_20" + android:text="鍚嶆棌" + android:textColor="#88000000" + android:textSize="@dimen/sp_12" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:autofillHints="creditCardNumber" + android:textColor="#DE000000" + android:textColorHint="#6b000000" + android:textSize="@dimen/sp_16" + tools:text="姹夋棌" + /> + + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_marginTop="5dp" + android:background="#6B000000" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/linearLayout" + android:layout_width="140dp" + android:layout_height="wrap_content" + android:layout_marginTop="20dp" + android:orientation="vertical" + app:layout_constraintStart_toStartOf="@+id/layout_2" + app:layout_constraintTop_toBottomOf="@+id/layout_3_1"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="@dimen/dp_20" + android:text="鍥界睄" + android:textColor="#88000000" + android:textSize="@dimen/sp_12" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:autofillHints="creditCardNumber" + android:textColor="#DE000000" + android:textColorHint="#6b000000" + android:textSize="@dimen/sp_16" + tools:text="涓浗" /> + + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_marginTop="5dp" + android:background="#6B000000" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/linearLayout3" + android:layout_width="140dp" + android:layout_height="wrap_content" + android:orientation="vertical" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="@+id/linearLayout"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="@dimen/dp_20" + android:text="濠氬Щ鐘跺喌" + android:textColor="#88000000" + android:textSize="@dimen/sp_12" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:autofillHints="creditCardNumber" + android:textColor="#DE000000" + android:textColorHint="#6b000000" + android:textSize="@dimen/sp_16" + tools:text="鏈" /> + + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_marginTop="5dp" + android:background="#6B000000" /> + </LinearLayout> + + + <LinearLayout + android:layout_width="140dp" + android:layout_height="wrap_content" + android:orientation="vertical" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="@+id/linearLayout2"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="@dimen/dp_20" + android:text="鑱旂郴鏂瑰紡" + android:textColor="#88000000" + android:textSize="@dimen/sp_12" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:autofillHints="creditCardNumber" + android:textColor="#DE000000" + android:textColorHint="#6b000000" + android:textSize="@dimen/sp_16" + tools:text="1234567890" /> + + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_marginTop="5dp" + android:background="#6B000000" /> + </LinearLayout> + + + <LinearLayout + android:id="@+id/linearLayout2" + android:layout_width="140dp" + android:layout_height="wrap_content" + android:orientation="vertical" + android:layout_marginTop="20dp" + app:layout_constraintStart_toStartOf="@+id/layout_2" + app:layout_constraintTop_toBottomOf="@+id/linearLayout"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="@dimen/dp_20" + android:text="鏀挎不闈㈣矊" + android:textColor="#88000000" + android:textSize="@dimen/sp_12" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:autofillHints="creditCardNumber" + android:textColor="#DE000000" + android:textColorHint="#6b000000" + android:textSize="@dimen/sp_16" + tools:text="缇や紬" /> + + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_marginTop="5dp" + android:background="#6B000000" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/layout_6" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:layout_marginTop="20dp" + app:layout_constraintStart_toStartOf="@+id/layout_2" + app:layout_constraintTop_toBottomOf="@+id/linearLayout2"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="@dimen/dp_20" + android:text="韬唤璇佸彿" + android:textColor="#88000000" + android:textSize="@dimen/sp_12" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:autofillHints="creditCardNumber" + android:textColor="#DE000000" + android:textColorHint="#6b000000" + android:textSize="@dimen/sp_16" + tools:text="440000199801010001" /> + + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_marginTop="5dp" + android:background="#6B000000" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/layout_7" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:layout_marginTop="20dp" + app:layout_constraintStart_toStartOf="@+id/layout_2" + app:layout_constraintTop_toBottomOf="@+id/layout_6"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="@dimen/dp_20" + android:text="鎴风睄鍦板潃" + android:textColor="#88000000" + android:textSize="@dimen/sp_12" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:autofillHints="creditCardNumber" + android:textColor="#DE000000" + android:textColorHint="#6b000000" + android:textSize="@dimen/sp_16" + tools:text="骞夸笢鐪佸箍宸炲競鐣鍖哄皬璋峰洿琛楅亾" /> + + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_marginTop="5dp" + android:background="#6B000000" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/layout_8" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + app:layout_constraintTop_toBottomOf="@id/layout_7" + tools:layout_editor_absoluteX="0dp" + android:layout_marginTop="16dp" + > + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + > + <TextView + android:id="@+id/tv_primary_experience" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:layout_marginTop="@dimen/dp_5" + android:text="涓昏瀛︿範鍙婂伐浣滅粡鍘�" + android:textColor="#ff000000" + android:textSize="@dimen/sp_20" + android:textStyle="bold" /> + <ImageButton + android:id="@+id/iv_fold_1" + android:layout_width="20dp" + android:layout_height="20dp" + android:layout_gravity="center_vertical" + android:contentDescription="@string/iv_fold_1_description" + android:background="@drawable/ic_unfold" + /> + </LinearLayout> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recyclerView" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@color/color_normal_background" + android:layout_marginTop="16dp" + tools:itemCount="3" + tools:listitem="@layout/item_growth_experience_primary" /> + + </LinearLayout> + + <LinearLayout + android:id="@+id/layout_9" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + app:layout_constraintTop_toBottomOf="@id/layout_8" + android:layout_marginTop="30dp" + > + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + > + <TextView + android:id="@+id/tv_relationship_condition" + android:layout_width="0dp" + android:layout_weight="1" + android:layout_height="wrap_content" + android:text="瀹跺涵鎴愬憳鍙婁富瑕佺ぞ浼氬叧绯绘儏鍐�" + android:textColor="#ff000000" + android:textSize="@dimen/sp_20" + android:textStyle="bold" /> + <ImageButton + android:id="@+id/iv_fold_2" + android:layout_width="20dp" + android:layout_height="20dp" + android:layout_gravity="center" + android:contentDescription="@string/iv_fold_1_description" + android:background="@drawable/ic_unfold" /> + </LinearLayout> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/rv_relationship" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@color/color_normal_background" + android:layout_marginTop="16dp" + tools:itemCount="3" + tools:listitem="@layout/item_growth_experience_primary" /> + </LinearLayout> + + + + <LinearLayout + android:id="@+id/layout_10" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + app:layout_constraintTop_toBottomOf="@id/layout_9" + android:layout_marginTop="30dp" + > + + <TextView + android:id="@+id/tv_migration_condition" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/dp_5" + android:text="绉诲眳鍥斤紙澧冿級鎯呭喌" + android:textColor="#ff000000" + android:textSize="@dimen/sp_20" + android:textStyle="bold" + /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="15dp" + android:text="鏄惁鎷ユ湁澶栫睄銆佸澶栧眳鐣欐潈銆侀暱鏈熷眳鐣欒鍙�" + android:textColor="#6b000000" + android:textSize="12sp" /> + + <RadioButton + android:id="@+id/radioButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:checked="true" + android:text="鏄�" + /> + <View + android:layout_width="140dp" + android:layout_height="1dp" + android:background="#6B000000" + /> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="20dp" + android:text="璇佷欢鍙风爜" + android:textColor="#6b000000" + android:textSize="12sp" /> + <TextView + android:id="@+id/editText_Residence_Number" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingHorizontal="20dp" + android:autofillHints="creditCardNumber" + android:textColor="#DE000000" + android:textSize="@dimen/sp_16" + /> + <View + android:layout_width="140dp" + android:layout_height="1dp" + android:background="#6B000000" + android:layout_marginTop="8dp" + /> + </LinearLayout> + + <LinearLayout + android:id="@+id/layout_11" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:layout_marginTop="30dp" + app:layout_constraintTop_toBottomOf="@id/layout_10" + > + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + > + <TextView + android:id="@+id/tv_certificate_condition" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="鎸佹湁鍑哄叆澧冭瘉浠舵儏鍐�" + android:textColor="#ff000000" + android:textSize="@dimen/sp_20" + android:textStyle="bold" /> + + <ImageButton + android:id="@+id/iv_fold_3" + android:layout_width="20dp" + android:layout_height="20dp" + android:layout_gravity="center_vertical" + android:background="@drawable/ic_unfold" /> + </LinearLayout> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/rv_certificates" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@color/color_normal_background" + android:layout_marginTop="16dp" + tools:itemCount="3" + tools:listitem="@layout/item_growth_experience_primary" /> + </LinearLayout> + + + + <LinearLayout + android:id="@+id/layout_12" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + app:layout_constraintTop_toBottomOf="@id/layout_11" + android:layout_marginTop="30dp" + > + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + > + <TextView + android:id="@+id/tv_abroad_condition" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="鍑哄浗锛堝锛夋儏鍐�" + android:textColor="#ff000000" + android:textSize="@dimen/sp_20" + android:textStyle="bold" /> + + <ImageButton + android:id="@+id/iv_fold_4" + android:layout_width="20dp" + android:layout_height="20dp" + android:layout_gravity="center_vertical" + android:background="@drawable/ic_unfold" + /> + </LinearLayout> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/rv_abroad" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@color/color_normal_background" + android:layout_marginTop="16dp" + app:layout_constraintTop_toBottomOf="@+id/layout_11" + tools:itemCount="3" + tools:listitem="@layout/item_growth_experience_primary" /> + </LinearLayout> + + <TextView + android:id="@+id/tv_autobiography" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="30dp" + android:text="鑷紶" + android:textColor="#ff000000" + android:textSize="@dimen/sp_20" + android:textStyle="bold" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintTop_toBottomOf="@+id/layout_12" /> + + + + </androidx.constraintlayout.widget.ConstraintLayout> + </androidx.core.widget.NestedScrollView> + </LinearLayout> + </LinearLayout> +</layout> -- Gitblit v1.9.1