|
|
@@ -7,13 +7,14 @@
|
|
|
tools:background="@color/color_AAAAAA"
|
|
|
tools:layoutDirection="ltr">
|
|
|
|
|
|
+ <!-- 该控件有只有一份LTR动效,布局需要从左到右约束 -->
|
|
|
<com.opensource.svgaplayer.WenextSvgaView
|
|
|
android:id="@+id/svga_effect_id"
|
|
|
android:layout_width="76dp"
|
|
|
android:layout_height="20dp"
|
|
|
android:visibility="gone"
|
|
|
app:layout_constraintBottom_toBottomOf="@id/tvId"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="@id/tvId"
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
@@ -24,7 +25,7 @@
|
|
|
android:src="@drawable/common_customized_id_ic"
|
|
|
android:visibility="gone"
|
|
|
app:layout_constraintBottom_toBottomOf="@id/tvId"
|
|
|
- app:layout_constraintStart_toStartOf="@id/tvId"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@id/tvId"
|
|
|
app:layout_constraintTop_toTopOf="@id/tvId"
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
@@ -34,34 +35,34 @@
|
|
|
android:layout_height="18dp"
|
|
|
android:gravity="center"
|
|
|
android:includeFontPadding="false"
|
|
|
- android:paddingStart="24dp"
|
|
|
+ android:paddingLeft="24dp"
|
|
|
android:textColor="@color/white"
|
|
|
android:textSize="11sp"
|
|
|
android:visibility="gone"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
tools:background="@drawable/profile_sid_bg"
|
|
|
- tools:paddingEnd="6dp"
|
|
|
+ tools:paddingRight="6dp"
|
|
|
tools:text="ID:123456"
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
<androidx.constraintlayout.widget.Barrier
|
|
|
- android:id="@+id/barrier_end"
|
|
|
+ android:id="@+id/barrier_right"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- app:barrierDirection="end"
|
|
|
+ app:barrierDirection="right"
|
|
|
app:constraint_referenced_ids="svga_effect_id,tvId,iv_good_id" />
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
android:id="@+id/iv_copy"
|
|
|
android:layout_width="16dp"
|
|
|
android:layout_height="16dp"
|
|
|
- android:layout_marginStart="4dp"
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
android:src="@drawable/profile_copy_ic"
|
|
|
android:visibility="gone"
|
|
|
app:layout_constraintBottom_toBottomOf="@id/svga_effect_id"
|
|
|
- app:layout_constraintStart_toEndOf="@id/barrier_end"
|
|
|
+ app:layout_constraintLeft_toRightOf="@id/barrier_right"
|
|
|
app:layout_constraintTop_toTopOf="@id/svga_effect_id"
|
|
|
tools:visibility="visible" />
|
|
|
|