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

Now a Text component is used as the title of a page, and 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= hide
B . text.setVisibility(Component. VISIBLE)
C . ohos:visibility=visible
D . ohos: visibi1ity=invisible

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments