For agentic workers: REQUIRED SUB-SKILL: Use executing-plans to implement this plan task-by-task.
Goal: 让消费页持续展示三色读卡器连接状态,并在卡片结算阶段增加独立的用户行为提示行。
Architecture: 设备回调继续只更新读卡器连接状态;用户行为提示完全复用 ConsumptionUiStateMapper.UiState,由 ConsumptionActivity.renderPayment() 统一渲染。布局、间距、颜色和文案全部使用 Android 资源。
Tech Stack: Android Java、XML resources、JUnit 4、Gradle。
Git 边界: 当前项目只允许只读 Git 检查,本计划不包含 Git 写步骤。
strings.xml 增加放卡、移卡、保持卡片、成功、失败和结果未知六种提示。dimens.xml 增加行为提示行顶部间距。consumption_reader_user_action。./gradlew :app:processDebugResources 验证资源。updateReaderText() 始终显示连接状态行。renderPayment() 根据统一 UiState 控制第二行文案、颜色与显隐。ConsumptionUiStateMapperTest。./gradlew :app:testDebugUnitTest。./gradlew :app:assembleDebug。