Working with Custom Layout in HarmonyOS

  • A Harmony OS phone (with the USB cable), which is used for debugging.
  • Latest DevEcho studio installed.
  • Add required images in resources > base > media
  • Add custom strings in resources > base > element > string.json
  • Define supporting devices in config.json file.
  • Define actions in config.json
  • Add properties and values xml files in animation folder.
  • Do not log the sensitive data
  • Use respective Log methods to print logs.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store