Huawei HCIP-HarmonyOS Application Developer V1.0 H14-231_V1.0 Question # 25 Topic 3 Discussion

Huawei HCIP-HarmonyOS Application Developer V1.0 H14-231_V1.0 Question # 25 Topic 3 Discussion

H14-231_V1.0 Exam Topic 3 Question 25 Discussion:
Question #: 25
Topic #: 3

Now a Text component is used as the title of a page, and the Text needs to be set to be invisible, but it still occupies the current layout space, which of the following is correct?


A.

ohos:visibility="invisible"


B.

text.setVisibility(Component.VISIBLE);


C.

ohos:visibility="visible"


D.

ohos:visibility="hide"


Get Premium H14-231_V1.0 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.