buttontake->SetStyle(STYLE_BACKGROUND_COLOR, 0xff4fc34c); // 设置按键颜色
buttontake->SetOnClickListener(static_cast<UIView::OnClickListener *>(TakephotosPresenter::GetInstance()));
- // 初始化图片数组以及动画
- const char *basePath = "/user/res/takephotos/smile/";
+ // 初始化图片数组以及动画 {修改为统一动画}
+ const char *basePath = "/user/res/takephotos/cream/";
const char *fileExtension = "bin";
const char **imagePaths = CreateImagePathsArray(basePath, fileExtension, 27);
InitImageAnimatorSource(smileAnimator, imagePaths, 27, 163, 140, 140, 140, "imageAnimator", 100);