RemindIcon->SetVisible(true);
group->Add(RemindIcon);
}
+ RemindIcon1 = new UIImageView();
if (RemindIcon1)
{
+ RemindIcon1->SetAutoEnable(false);
RemindIcon1->SetPosition(83, 124, 36, 36);
RemindIcon1->SetSrc("/user/res/warning.bin");
+ RemindIcon1->SetResizeMode(UIImageView::CONTAIN);
RemindIcon1->SetVisible(true);
group->Add(RemindIcon1);
}
WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "OtaModel::CheckOtaResult");
if(status == 3)
{
- OtaView::GetInstance()->ChangeView(OtaView::OTA_VIEW_UPDATING, OtaView::OTA_VIEW_UPDATE_SUCCESS);
- } else if(status == 4) {
OtaView::GetInstance()->ChangeView(OtaView::OTA_VIEW_UPDATING, OtaView::OTA_VIEW_UPDATE_FAILED);
+ } else if(status == 4) {
+ OtaView::GetInstance()->ChangeView(OtaView::OTA_VIEW_UPDATING, OtaView::OTA_VIEW_UPDATE_SUCCESS);
}
}
void OtaModel::UpdateOtaProgress(int progress)
TextLabel->SetVisible(true);
group->Add(TextLabel);
}
+ LittleTextLabel = new UILabelExt();
if (LittleTextLabel)
{
LittleTextLabel->SetPosition(80, 184, 220, 28);
RemindLabel->SetVisible(true);
group->Add(RemindLabel);
}
+ RemindIcon = new UIImageView();
if (RemindIcon)
{
+ RemindIcon->SetAutoEnable(false);
RemindIcon->SetPosition(160, 277, 22, 22);
+ RemindIcon->SetResizeMode(UIImageView::CONTAIN);
RemindIcon->SetSrc("/user/res/volume_up.bin");
RemindIcon->SetVisible(true);
group->Add(RemindIcon);
}
+ RemindIcon1 = new UIImageView();
if (RemindIcon1)
{
+ RemindIcon1->SetAutoEnable(false);
RemindIcon1->SetPosition(98, 124, 36, 36);
+ RemindIcon1->SetResizeMode(UIImageView::CONTAIN);
RemindIcon1->SetSrc("/user/res/completed.bin");
RemindIcon1->SetVisible(true);
group->Add(RemindIcon1);