After a developer sets :ohos:layout_ alignment="horizontal _center" in the Text component, he writes: text.setTranslationX(600) in the code, where is the Text displayed in the parent layout?
A.
level is centered
B.
is horizontally centered and shifted to the right by 600
C.
The parent layout is moved 600 to the top left and right
D.
is horizontally centered and shifted 600 to the left
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit