diff --git a/CLAUDE.md b/CLAUDE.md index 15b587e..4baf0c0 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -383,6 +383,25 @@ fun toggleAllExpand() { } ``` +4. **子列表项 checkbox 样式**(必须使用 `_style` 系列,禁止使用 `_gray` 系列): +```xml + + +``` + +| 资源 | 含义 | 外观 | +|------|------|------| +| `radiobtn_checked_style` | 选中 | colorPrimary 蓝色实心圆 + 白色内环 | +| `radiobtn_unchecked_style` | 未选中 | 透明 + 黑色边框圆 | +| ~~`radiobtn_checked_gray`~~ | ❌ 禁用 | 灰色实心圆(错误样式) | + **参考文件**: `module_gjc/.../IntExpStorageUseActivity.kt`、`IntExpStorageUseViewModel.kt` --- diff --git a/module_gjj/src/main/res/layout/item_int_arr_air_manifest_sub.xml b/module_gjj/src/main/res/layout/item_int_arr_air_manifest_sub.xml index 8ffdc49..a0c6b29 100644 --- a/module_gjj/src/main/res/layout/item_int_arr_air_manifest_sub.xml +++ b/module_gjj/src/main/res/layout/item_int_arr_air_manifest_sub.xml @@ -27,8 +27,8 @@ android:layout_height="20dp" android:layout_gravity="center_vertical" android:layout_weight="0.5" - loadImage="@{bean.checked.get() ? @drawable/radiobtn_checked_gray : @drawable/radiobtn_unchecked_gray}" - android:src="@drawable/radiobtn_unchecked_gray" /> + loadImage="@{bean.checked.get() ? @drawable/radiobtn_checked_style : @drawable/radiobtn_unchecked_style}" + android:src="@drawable/radiobtn_unchecked_style" /> + loadImage="@{bean.checked.get() ? @drawable/radiobtn_checked_style : @drawable/radiobtn_unchecked_style}" + android:src="@drawable/radiobtn_unchecked_style" /> diff --git a/module_gjj/src/main/res/layout/item_int_imp_tally_sub.xml b/module_gjj/src/main/res/layout/item_int_imp_tally_sub.xml index f1743d3..483cd15 100644 --- a/module_gjj/src/main/res/layout/item_int_imp_tally_sub.xml +++ b/module_gjj/src/main/res/layout/item_int_imp_tally_sub.xml @@ -27,7 +27,7 @@ android:layout_height="20dp" android:layout_gravity="center_vertical" android:layout_weight="0.5" - loadImage="@{bean.checked.get() ? @drawable/radiobtn_checked_gray : @drawable/radiobtn_unchecked_gray}" + loadImage="@{bean.checked.get() ? @drawable/radiobtn_checked_style : @drawable/radiobtn_unchecked_style}" android:src="@drawable/radiobtn_unchecked_style" />