ExamGecko
Question list
Search
Search

Related questions











Question 123 - H14-231_V1.0 discussion

Report
Export

When a developer develops a HarmomyOS application, if a Text component is used as the title bar of the page, and its width is set to match_parent and its height is set to 50vp, how can the text content in the Text be centered when setting its properties in the layout file?

A.
ohos:thorizontal_center=true'
Answers
A.
ohos:thorizontal_center=true'
B.
ohos:center_inparent='true'
Answers
B.
ohos:center_inparent='true'
C.
ohos:layout_alignment=center
Answers
C.
ohos:layout_alignment=center
D.
ohos:text_alignment=center
Answers
D.
ohos:text_alignment=center
Suggested answer: D
asked 18/09/2024
Nour Algharbi
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first