version:1.0.1

update:优化屏幕适配,更换图标
bugfixes:
This commit is contained in:
2024-07-13 15:22:39 +08:00
parent 6142c737e1
commit 4657e3ad2b
251 changed files with 3007 additions and 26518 deletions

View File

@@ -12,12 +12,12 @@
<com.shehuan.niv.NiceImageView
android:id="@+id/nv_goods_pic"
android:layout_width="@dimen/dp_100"
android:layout_height="@dimen/dp_130"
android:layout_marginStart="@dimen/dp_16"
android:layout_width="100dp"
android:layout_height="130dp"
android:layout_marginStart="16dp"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
app:corner_radius="@dimen/dp_8"
app:corner_radius="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@@ -26,11 +26,11 @@
android:id="@+id/tv_goods_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_8"
android:layout_marginEnd="@dimen/dp_8"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:maxLines="3"
android:textColor="@color/black"
android:textSize="@dimen/sp_11"
android:textSize="11sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/nv_goods_pic"
app:layout_constraintTop_toTopOf="@+id/nv_goods_pic"
@@ -42,7 +42,7 @@
android:layout_height="wrap_content"
android:maxLines="1"
android:textColor="@color/red"
android:textSize="@dimen/sp_14"
android:textSize="14sp"
app:layout_constraintBottom_toTopOf="@+id/tv_buy"
app:layout_constraintStart_toStartOf="@+id/tv_goods_title"
app:layout_constraintTop_toBottomOf="@+id/tv_goods_title"
@@ -55,7 +55,7 @@
android:background="@drawable/buy_button_bg"
android:text="立即抢购"
android:textColor="@color/white"
android:textSize="@dimen/sp_11"
android:textSize="11sp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="@+id/nv_goods_pic"
app:layout_constraintEnd_toEndOf="@+id/tv_goods_title" />