修复moamao表盘组件位置问题
authorCaisking <3449750381@qq.com>
Sat, 27 Apr 2024 11:51:11 +0000 (19:51 +0800)
committerCaisking <3449750381@qq.com>
Sat, 27 Apr 2024 11:51:11 +0000 (19:51 +0800)
code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/dial/maomao.bin
dial_resource_files/maomao.xml

index 538f023..e733c13 100644 (file)
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:0e94a8c269d1f3a37114475f377b3f5bf7dfe714722420d2f60494a341060803
+oid sha256:1c14b3f9ecf0d7b3b0e1f6afd53ed44ea5dc963712115c4159b5426872333a07
 size 209287
index 688ae59..fbe993e 100644 (file)
@@ -1,35 +1,17 @@
-<dial title="maomao" description="maomao clock" size="454 454" version="1.0"\r
-    preview_img="./dial_maomao/maomao.png">\r
+<dial title="maomao" description="maomao clock" size="454 454" version="1.0" preview_img="./dial_maomao/maomao.png">\r
     <static_img id="back_ground" position="0 0" img_name="./dial_maomao/MAIN_FACE_IMAGE.png"></static_img>\r
-    <option_img position="207 400"\r
-        img_names="./dial_maomao/week/SUNDAY_IMAGE_PATH.png,./dial_maomao/week/MONDAY_IMAGE_PATH.png,./dial_maomao/week/TUESDAY_IMAGE_PATH.png,./dial_maomao/week/WEDNESDAY_IMAGE_PATH.png,./dial_maomao/week/THURSDAY_IMAGE_PATH.png,./dial_maomao/week/FIRDAY_IMAGE_PATH.png,./dial_maomao/week/SATURDAY_IMAGE_PATH.png"\r
-        bind_data="17" period="10"></option_img>\r
+    <option_img position="207 400" img_names="./dial_maomao/week/SUNDAY_IMAGE_PATH.png,./dial_maomao/week/MONDAY_IMAGE_PATH.png,./dial_maomao/week/TUESDAY_IMAGE_PATH.png,./dial_maomao/week/WEDNESDAY_IMAGE_PATH.png,./dial_maomao/week/THURSDAY_IMAGE_PATH.png,./dial_maomao/week/FIRDAY_IMAGE_PATH.png,./dial_maomao/week/SATURDAY_IMAGE_PATH.png" bind_data="17" period="10"></option_img>\r
 \r
-    <label id="dateyear_label" color="0xFFFFFFFF" font="HarmonyOS_Sans_SC_Regular.ttf"\r
-        break_mode="adapt" rect="136 365 100 30" text="%4.0f年" font_size="26" align="center"\r
-        bind_data="19" period="10"></label>\r
-    <label id="datemonth_label" color="0xFFFFFFFF" font="HarmonyOS_Sans_SC_Regular.ttf"\r
-        break_mode="adapt" rect="215 365 60 30" text="%2.0f月" font_size="26" align="center"\r
-        bind_data="18" period="10"></label>\r
-    <label id="dateday_label" color="0xFFFFFFFF" font="HarmonyOS_Sans_SC_Regular.ttf"\r
-        break_mode="adapt" rect="260 365 60 30" text="%2.0f日" font_size="26" align="center"\r
-        bind_data="16" period="10"></label>\r
+    <label id="dateyear_label" color="0xFFFFFFFF" font="HarmonyOS_Sans_SC_Regular.ttf" break_mode="adapt" rect="136 365 100 30" text="%4.0f年" font_size="26" align="center" bind_data="19" period="10"></label>\r
+    <label id="datemonth_label" color="0xFFFFFFFF" font="HarmonyOS_Sans_SC_Regular.ttf" break_mode="adapt" rect="215 365 60 30" text="%2.0f月" font_size="26" align="center" bind_data="18" period="10"></label>\r
+    <label id="dateday_label" color="0xFFFFFFFF" font="HarmonyOS_Sans_SC_Regular.ttf" break_mode="adapt" rect="260 365 60 30" text="%2.0f日" font_size="26" align="center" bind_data="16" period="10"></label>\r
 \r
-    <label id="battery_label" color="0xFFFFFFFF" font="HarmonyOS_Sans_SC_Regular.ttf"\r
-        break_mode="adapt" rect="226 50 200 60" text="%2.0f%%" font_size="26" align="center"\r
-        bind_data="8" period="60"></label>\r
-    <box_progress id="battery_progress" rect="180 43 31 19"\r
-        color="0xFFFFFFFF" cap_type="none" direction="left_to_right" background_color="0x00FFFFFF"\r
-        bind_data="25" period="10"></box_progress>\r
-    <option_img position="174 52"\r
-        img_names="./dial_maomao/Battery/Battery.png,./dial_maomao/Battery/BatteryCharge.png"\r
-        bind_data="20" period="10"></option_img>\r
+    <label id="battery_label" color="0xFFFFFFFF" font="HarmonyOS_Sans_SC_Regular.ttf" break_mode="adapt" rect="226 50 200 60" text="%2.0f%%" font_size="26" align="center" bind_data="8" period="60"></label>\r
+    <box_progress id="battery_progress" rect="180 58 31 19" color="0xFFFFFFFF" cap_type="none" direction="left_to_right" background_color="0x00FFFFFF" bind_data="25" period="10"></box_progress>\r
+    <option_img position="174 52" img_names="./dial_maomao/Battery/Battery.png,./dial_maomao/Battery/BatteryCharge.png" bind_data="20" period="10"></option_img>\r
 \r
-    <rotate_img id="hour" position="221 87" rotate_center="12.0 146.0" rotate_start="0"\r
-        rotate_end="360" img_name="./dial_maomao/HOURHAND.png" bind_data="9" period="10"></rotate_img>\r
-    <rotate_img id="minute" position="221 33" rotate_center="12.0 200.0" rotate_start="0"\r
-        rotate_end="360" img_name="./dial_maomao/MINUTEHAND.png" bind_data="10" period="10"></rotate_img>\r
-    <rotate_img id="second" position="221 28" rotate_center="12.0 205.0" rotate_start="0"\r
-        rotate_end="360" img_name="./dial_maomao/SECONDHAND.png" bind_data="12" period="60"></rotate_img>\r
+    <rotate_img id="hour" position="221 87" rotate_center="12.0 146.0" rotate_start="0" rotate_end="360" img_name="./dial_maomao/HOURHAND.png" bind_data="9" period="10"></rotate_img>\r
+    <rotate_img id="minute" position="221 33" rotate_center="12.0 200.0" rotate_start="0" rotate_end="360" img_name="./dial_maomao/MINUTEHAND.png" bind_data="10" period="10"></rotate_img>\r
+    <rotate_img id="second" position="221 28" rotate_center="12.0 205.0" rotate_start="0" rotate_end="360" img_name="./dial_maomao/SECONDHAND.png" bind_data="12" period="60"></rotate_img>\r
 \r
 </dial>
\ No newline at end of file