3.8:图片 点击“工具箱-基础控件-图片”,画一个合适的大小,再从“图片浏览”中拖入图片至“属性-图片”一栏即可。
注:如果此图片为透明,请在控件名称填写_RGBA即可。 浏览附件19095 3.9:蓝牙、勿扰、锁定 Click "Toolbox-Basic Controls-Picture List", draw a suitable size, the default index value is adjusted to 0, and the number is 2; then fill in the index value, 0 means closed, 1 means open, just follow this idea, select Corresponding data source. 浏览附件19096
3.10: Animation (Xiaomi Mi Band 8 does not currently support it) Click "Toolbox-Basic Controls-Picture List", draw a suitable size, and then name it anim_[xx@yy]
If you use an image with a transparent background, add _RGBA to the name suffix, and fill in the index from 0. 浏览附件19111浏览附件19112
3.11: Jumpable components (currently only 8 does not support) Please update the version to V30 version. Click "Toolbox-Basic Controls-Picture", draw a suitable size; set the name to btn_[XXXXX], if the picture has a transparent background, add the suffix _RGBA[/ICODE ] (such as [ICODE]btn_[XXXXX]_RGBA).
If I want to set the jump to heart rate, then replace XXXXX in btn_[XXXXX]_RGBA with hrm, the effect is like btn_ [hrm]_RGBA.
Other component IDs are as follows:
4. Make-AOD At present, it is known that Xiaomi Mi Band 8 must make AOD, otherwise it will switch to the default dial of the system when AOD is turned on. Create a new dial, name it AOD, and save it in the same directory as the project file. Afterwards, the manufacturing method is the same as that of the main body of the dial. 浏览附件19135
After the production is completed, there is no need to compile, just save it and return to the main project file of the dial. 浏览附件19137
5. Compile the dial 5.1: Improve dial information Click on the blank part, fill in the name and select the preview image.
Note: The preview image of Mihuan 8 needs to be 122*310, and 7Pro is 220*358; and the rounded corners should be cut. 浏览附件19097
5.2: Compile the dial Click the icon in the upper left corner to start compiling, 浏览附件19099
If these two items are displayed, it means the compilation is successful 浏览附件19100
output to \example\example\output 浏览附件19102
The suffix .face is the compiled product, which can be flashed directly Finish
common problem:
Q: The image background shows no transparency
A: Add _RGBA to the control name.
Q: The picture is garbled, and the packaging always fails
A: Please check if the pictures in this picture list are the same size! ! ! Different sizes of pictures in the same picture collection may cause garbled characters, or lead to entering the after-sales mode! ! ! Q: Other questions
A: Subsequent supplements.
If you have any questions, please reply to the post, and I will reply when I have time.