|
@@ -26,47 +26,48 @@
|
|
app:layout_constraintRight_toRightOf="@+id/view_live_anim"
|
|
app:layout_constraintRight_toRightOf="@+id/view_live_anim"
|
|
app:layout_constraintTop_toTopOf="@+id/view_live_anim" />
|
|
app:layout_constraintTop_toTopOf="@+id/view_live_anim" />
|
|
|
|
|
|
- <View
|
|
|
|
- android:id="@+id/view_unlock"
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="0dp"
|
|
|
|
- android:background="@drawable/shape_66000000_12dp"
|
|
|
|
- app:layout_constraintDimensionRatio="h,888:1712"
|
|
|
|
|
|
+ <com.airbnb.lottie.LottieAnimationView
|
|
|
|
+ android:visibility="gone"
|
|
|
|
+ android:id="@+id/view_unlock_anim"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
+ app:lottie_autoPlay="false"
|
|
|
|
+ app:lottie_loop="false"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/iv_lock"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:src="@drawable/jg_icon_lock"
|
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/tv_lock_tip"
|
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/view_unlock"
|
|
|
|
- app:layout_constraintRight_toRightOf="@+id/view_unlock"
|
|
|
|
- app:layout_constraintTop_toTopOf="@+id/view_unlock"
|
|
|
|
- app:layout_constraintVertical_chainStyle="packed" />
|
|
|
|
|
|
+<!-- <ImageView-->
|
|
|
|
+<!-- android:id="@+id/iv_lock"-->
|
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
|
+<!-- android:src="@drawable/jg_icon_lock"-->
|
|
|
|
+<!-- app:layout_constraintBottom_toTopOf="@+id/tv_lock_tip"-->
|
|
|
|
+<!-- app:layout_constraintLeft_toLeftOf="@+id/view_unlock"-->
|
|
|
|
+<!-- app:layout_constraintRight_toRightOf="@+id/view_unlock"-->
|
|
|
|
+<!-- app:layout_constraintTop_toTopOf="@+id/view_unlock"-->
|
|
|
|
+<!-- app:layout_constraintVertical_chainStyle="packed" />-->
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_lock_tip"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginTop="8dp"
|
|
|
|
- android:text="暂未解锁"
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
- android:textSize="@dimen/sp_16"
|
|
|
|
- android:textStyle="bold"
|
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/view_unlock"
|
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/iv_lock"
|
|
|
|
- app:layout_constraintRight_toRightOf="@+id/iv_lock"
|
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_lock" />
|
|
|
|
|
|
+<!-- <TextView-->
|
|
|
|
+<!-- android:id="@+id/tv_lock_tip"-->
|
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
|
+<!-- android:layout_marginTop="8dp"-->
|
|
|
|
+<!-- android:text="暂未解锁"-->
|
|
|
|
+<!-- android:textColor="@color/white"-->
|
|
|
|
+<!-- android:textSize="@dimen/sp_16"-->
|
|
|
|
+<!-- android:textStyle="bold"-->
|
|
|
|
+<!-- app:layout_constraintBottom_toBottomOf="@+id/view_unlock"-->
|
|
|
|
+<!-- app:layout_constraintLeft_toLeftOf="@+id/iv_lock"-->
|
|
|
|
+<!-- app:layout_constraintRight_toRightOf="@+id/iv_lock"-->
|
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/iv_lock" />-->
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
<androidx.constraintlayout.widget.Group
|
|
android:id="@+id/group_unlock"
|
|
android:id="@+id/group_unlock"
|
|
android:visibility="gone"
|
|
android:visibility="gone"
|
|
tools:visibility="visible"
|
|
tools:visibility="visible"
|
|
- app:constraint_referenced_ids="iv_lock,tv_lock_tip,view_unlock"
|
|
|
|
|
|
+ app:constraint_referenced_ids="view_unlock_anim"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
android:layout_height="wrap_content"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|