1

I am building a HarmonyOS application, Where I need to set elevation on custom component.

In Android we can set elevation on and widget as follow

android:elevation="8dp"

but, I saw in HMOS there is no any elevation attribute present for view.

zhangxaochen
  • 32,744
  • 15
  • 77
  • 108
C2C
  • 85
  • 6

2 Answers2

0

Thank you for your feedback, as confirmed by the team, The Java UI is not currently supported, Please stay tuned on HarmonyOS official websites.

For JS UI, you may can refer to Docs.

zhangxaochen
  • 32,744
  • 15
  • 77
  • 108
0

Harmony has setAltitude API available from SDK 6, unfortunately which is not released to public yet.

Gowtham GS
  • 478
  • 2
  • 5