|
|
@@ -98,34 +98,47 @@
|
|
|
app:layout_constraintTop_toBottomOf="@id/cl_info_1">
|
|
|
|
|
|
<!--位置-->
|
|
|
- <androidx.appcompat.widget.AppCompatImageView
|
|
|
- android:id="@+id/iv_location"
|
|
|
- android:layout_width="16dp"
|
|
|
- android:layout_height="16dp"
|
|
|
- app:layout_constraintEnd_toStartOf="@id/tv_location"
|
|
|
- app:layout_constraintHorizontal_bias="0"
|
|
|
- app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:srcCompat="@drawable/common_location_gray_ic" />
|
|
|
-
|
|
|
- <androidx.appcompat.widget.AppCompatTextView
|
|
|
- android:id="@+id/tv_location"
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/cl_location"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="4dp"
|
|
|
- android:ellipsize="end"
|
|
|
- android:fontFamily="@font/poppins_regular"
|
|
|
- android:includeFontPadding="false"
|
|
|
- android:singleLine="true"
|
|
|
- android:textColor="@color/color_FFC9CDD4"
|
|
|
- android:textSize="12sp"
|
|
|
- app:layout_constrainedWidth="true"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/iv_location"
|
|
|
+ android:visibility="gone"
|
|
|
app:layout_constraintEnd_toStartOf="@id/tv_user_id"
|
|
|
- app:layout_constraintStart_toEndOf="@id/iv_location"
|
|
|
- app:layout_constraintTop_toTopOf="@id/iv_location"
|
|
|
- tools:text="Jakarta TimurJakarta TimurJakarta Timur" />
|
|
|
+ app:layout_constraintHorizontal_bias="0"
|
|
|
+ app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/iv_location"
|
|
|
+ android:layout_width="16dp"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ app:layout_constraintEnd_toStartOf="@id/tv_location"
|
|
|
+ app:layout_constraintHorizontal_bias="0"
|
|
|
+ app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:srcCompat="@drawable/common_location_gray_ic" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tv_location"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:fontFamily="@font/poppins_regular"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="@color/color_FFC9CDD4"
|
|
|
+ android:textSize="12sp"
|
|
|
+ app:layout_constrainedWidth="true"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/iv_location"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/iv_location"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/iv_location"
|
|
|
+ tools:text="Jakarta TimurJakarta TimurJakarta Timur" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<!--用户ID-->
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
@@ -139,7 +152,7 @@
|
|
|
android:textSize="12sp"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintEnd_toStartOf="@id/iv_copy_user_id"
|
|
|
- app:layout_constraintStart_toEndOf="@id/tv_location"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/cl_location"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
app:layout_goneMarginStart="0dp"
|
|
|
tools:text="ID 12345678" />
|