程序包 ohos.aafwk.ability.fraction

Provides Fraction-related capabilities.

A Fraction can be placed in a container (an Ability) as a part of its UI and cannot be used independently. A Fraction has its own lifecycle, but its lifecycle state depends on its container. If the container is destroyed, all fractions in it will also be destroyed. You can use the Fraction class to define a variety of layouts to enrich the user interface of your application.

从以下版本开始:
3
跳过导航链接