With Huawei Themes Engine, you can use specific XML syntax to develop various lock screens, and change the UI style, animation, or even interaction mode of a lock screen by changing the skin. The framework supports dynamic frame rates. Therefore, the screen will not be continuously rendered at a fixed frame rate. When no animation or update is available, the rendering stops and only a few resources are occupied. Slow animations are rendered at a low frame rate. Quick animations are rendered at the full speed. When the screen is rendered at the full speed, the frame rate can reach up to 60 frames per second in full screen mode. You can control the frame rate appropriately to make your lock screen cool and power-saving.
In this codelab, you will use the dynamic effects in Huawei Themes Engine to create interactive and dynamic lock screens with various styles. When applied to a mobile phone, the lock screens will make the theme more entertaining.
In this codelab, you will learn how to make a Huawei dynamic theme by editing .xml files.
Edit the code from line 119.
Items that need to be changed:
Compress the files into a .zip package under the level-1 directory and change the extension to .hwt.