namespace OHOS
{
- static constexpr const char *DROPDOWN_DNOTDISTURB_IMAGE = "/user/res/dropdown/DROPDOWN_DNOTDISTURB.bin";
static DnotDisturbView *g_pDnotDisturbView{nullptr};
DnotDisturbView::DnotDisturbView()
DnotDisturbImage->SetStyle(STYLE_BACKGROUND_OPA, 0xff);
DnotDisturbImage->SetStyle(STYLE_BORDER_RADIUS, 100);
DnotDisturbImage->SetAutoEnable(false);
- DnotDisturbImage->SetResizeMode(UIImageView::CENTER);
- DnotDisturbImage->SetSrc(DROPDOWN_DNOTDISTURB_IMAGE);
+ DnotDisturbImage->SetResizeMode(UIImageView::FILL);
+ DnotDisturbImage->SetSrc(PNG_APPLIST_DISTURB_IMAGE);
/* -------------------------------------------------------------------------- */
AttentionLabel = new UILabelExt();
if (AttentionLabel == nullptr)