礼物弹窗 标签优化
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 970 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 914 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 940 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 932 B |
@@ -34,7 +34,7 @@
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:alpha="@{item.isLocked?0.5f:1f}" />
|
||||
|
||||
<TextView
|
||||
@@ -80,25 +80,26 @@
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_marginStart="@dimen/dp_4"
|
||||
android:layout_marginTop="4dp"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_gift_exclusive"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/dp_14"
|
||||
android:layout_height="@dimen/dp_14"
|
||||
android:layout_marginEnd="@dimen/dp_3"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/icon_gift_exclusive"
|
||||
android:visibility="@{item.isExclusive ? View.VISIBLE : View.GONE}"
|
||||
android:adjustViewBounds="true"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_gift_new"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/dp_14"
|
||||
android:layout_height="@dimen/dp_14"
|
||||
android:layout_marginEnd="@dimen/dp_3"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/icon_gift_new"
|
||||
@@ -107,20 +108,20 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_gift_limit_time"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_width="@dimen/dp_14"
|
||||
android:layout_height="@dimen/dp_14"
|
||||
android:layout_marginEnd="@dimen/dp_3"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/icon_gift_limit_time"
|
||||
android:visibility="@{item.isShowLimit ? View.VISIBLE : View.GONE}"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_gift_effect"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_width="@dimen/dp_14"
|
||||
android:layout_height="@dimen/dp_14"
|
||||
android:layout_marginEnd="@dimen/dp_4"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/icon_gift_effect"
|
||||
android:visibility="@{item.isShowEffect ? View.VISIBLE : View.GONE}"
|
||||
tools:visibility="visible" />
|
||||
@@ -128,8 +129,8 @@
|
||||
<ImageView
|
||||
android:id="@+id/iv_noble_tag"
|
||||
nomalUrl="@{item.vipIcon}"
|
||||
android:layout_width="@dimen/dp_24"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/dp_14"
|
||||
android:layout_height="@dimen/dp_14"
|
||||
android:layout_marginEnd="@dimen/dp_3"
|
||||
android:adjustViewBounds="true"
|
||||
android:visibility="@{TextUtils.isEmpty(item.vipIcon) ? View.GONE : View.VISIBLE}"
|
||||
|