feat(ui): 将采集页红色主题图标统一替换为绿色

This commit is contained in:
2026-04-23 14:39:49 +08:00
parent 0243fe0dc8
commit 9f0671410f
8 changed files with 121 additions and 8 deletions
+23 -5
View File
@@ -98,15 +98,33 @@
android:foreground="@drawable/ripple_effect"/>
<!-- android:background="?android:attr/selectableItemBackgroundBorderless"-->
<ImageView
<!-- 拍照按钮:绿色圆角背景 + 相机图标 + 文字 -->
<LinearLayout
android:id="@+id/btnTakePhoto"
android:layout_width="212dp"
android:layout_height="155dp"
android:src="@drawable/ic_take_photo"
android:background="@drawable/bg_take_photo"
android:foreground="@drawable/ripple_effect"
android:gravity="center"
android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="@id/flPreview"
app:layout_constraintEnd_toEndOf="@id/btnCollectedFood"
tools:ignore="ContentDescription"
android:foreground="@drawable/ripple_effect"/>
app:layout_constraintEnd_toEndOf="@id/btnCollectedFood">
<ImageView
android:layout_width="72dp"
android:layout_height="72dp"
android:src="@drawable/ic_camera_white"
tools:ignore="ContentDescription" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:text="拍照"
android:textColor="@color/white"
android:textSize="30sp"
android:textStyle="bold" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvFoodList"
@@ -19,7 +19,7 @@
android:layout_height="52dp"
android:layout_gravity="end|top"
android:padding="6dp"
android:src="@drawable/ic_delete_red" />
android:src="@drawable/ic_delete_green" />
<ImageView
android:id="@+id/ivFinish"