ExamGecko
Question list
Search
Search

Related questions











Question 302 - H14-231_V1.0 discussion

Report
Export

When a developer is developing an application, he creates a Checkbox component and writes the following code, which of the following descriptions of the code segment is correct?

<checkbox ohos:id='$+ id:check_box'

ohos:height='match_content'

ohos:width='match_content'

ohos:text='This is a checkbox'

ohos:marked='false'

ohostext_color_on=''#000000''

ohos:text_color_off='#FFFFFF'

ohos:text_size='#000000'/>

A.
sets the selected text color to black
Answers
A.
sets the selected text color to black
B.
sets the initial state to Selected
Answers
B.
sets the initial state to Selected
C.
Set the text font size to 20fp
Answers
C.
Set the text font size to 20fp
D.
sets the color of unselected text to black
Answers
D.
sets the color of unselected text to black
Suggested answer: A, C
asked 18/09/2024
Andrew Kavanagh
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first