From 1a4ed9018e5bdb42b5851386718450c19a9b68f6 Mon Sep 17 00:00:00 2001 From: niushuai233 Date: Fri, 28 Oct 2022 14:17:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=BC=80=E5=85=B3=E4=B8=8D=E9=80=89icon=E6=97=B6=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../devcontrol/ui/deviceadd/DeviceAddPowerSwitchActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/cc/niushuai/project/devcontrol/ui/deviceadd/DeviceAddPowerSwitchActivity.java b/app/src/main/java/cc/niushuai/project/devcontrol/ui/deviceadd/DeviceAddPowerSwitchActivity.java index 0901566..ab270b3 100644 --- a/app/src/main/java/cc/niushuai/project/devcontrol/ui/deviceadd/DeviceAddPowerSwitchActivity.java +++ b/app/src/main/java/cc/niushuai/project/devcontrol/ui/deviceadd/DeviceAddPowerSwitchActivity.java @@ -14,6 +14,7 @@ import cc.niushuai.project.devcontrol.base.util.CommonUiUtil; import cc.niushuai.project.devcontrol.base.util.IdWorker; import cc.niushuai.project.devcontrol.base.util.Keys; import cc.niushuai.project.devcontrol.base.util.ToastUtil; +import cc.niushuai.project.devcontrol.base.util.UiUtil; import cc.niushuai.project.devcontrol.databinding.ActivityDeviceAddPowerSwitchBinding; import cc.niushuai.project.devcontrol.db.DB; import cc.niushuai.project.devcontrol.db.entity.Device; @@ -41,6 +42,8 @@ public class DeviceAddPowerSwitchActivity extends BaseActivity { // 设置标题栏信息 this.setTitle(null, getString(R.string.power_switch_add), null, R.drawable.ic_confrim_32); + + UiUtil.setAppImageCompatResource(this, R.id.device_add_select_icon, R.drawable.ic_device_type_switch); } /**